blob: c3ef21633354a0bd7fcafc65e141083cd5009952 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Mingkai Huf354b532011-07-07 12:29:15 +08002/*
ramneek mehresh3d339632012-04-18 19:39:53 +00003 * Copyright 2011-2012 Freescale Semiconductor, Inc.
Rajesh Bhagataec38012021-11-09 16:30:38 +05304 * Copyright 2020-2021 NXP
Mingkai Huf354b532011-07-07 12:29:15 +08005 */
6
7/*
8 * P2041 RDB board configuration file
Scott Wooda1ef48c2012-08-14 10:14:51 +00009 * Also supports P2040 RDB
Mingkai Huf354b532011-07-07 12:29:15 +080010 */
11#ifndef __CONFIG_H
12#define __CONFIG_H
13
Mingkai Huf354b532011-07-07 12:29:15 +080014#ifdef CONFIG_RAMBOOT_PBL
Simon Glass72cc5382022-10-20 18:22:39 -060015#define CONFIG_RAMBOOT_TEXT_BASE CONFIG_TEXT_BASE
Mingkai Huf354b532011-07-07 12:29:15 +080016#define CONFIG_RESET_VECTOR_ADDRESS 0xfffffffc
17#endif
18
Liu Gangb4611ee2012-08-09 05:10:03 +000019#ifdef CONFIG_SRIO_PCIE_BOOT_SLAVE
Liu Gangd7b17a92012-08-09 05:09:59 +000020/* Set 1M boot space */
Tom Rini40eb5562022-11-16 13:10:40 -050021#define CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR (CONFIG_TEXT_BASE & 0xfff00000)
22#define CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR_PHYS \
23 (0x300000000ull | CFG_SYS_SRIO_PCIE_BOOT_SLAVE_ADDR)
Liu Gangd7b17a92012-08-09 05:09:59 +000024#define CONFIG_RESET_VECTOR_ADDRESS 0xfffffffc
Liu Gangd7b17a92012-08-09 05:09:59 +000025#endif
26
Mingkai Huf354b532011-07-07 12:29:15 +080027/* High Level Configuration Options */
Mingkai Huf354b532011-07-07 12:29:15 +080028
Mingkai Huf354b532011-07-07 12:29:15 +080029#ifndef CONFIG_RESET_VECTOR_ADDRESS
30#define CONFIG_RESET_VECTOR_ADDRESS 0xeffffffc
31#endif
32
Tom Rini0a2bac72022-11-16 13:10:29 -050033#define CFG_SYS_NUM_CPC CONFIG_SYS_NUM_DDR_CTLRS
Mingkai Huf354b532011-07-07 12:29:15 +080034
Shaohui Xieada02612011-09-13 17:55:11 +080035#ifndef __ASSEMBLY__
Simon Glassfb64e362020-05-10 11:40:09 -060036#include <linux/stringify.h>
Shaohui Xieada02612011-09-13 17:55:11 +080037#endif
Mingkai Huf354b532011-07-07 12:29:15 +080038
39/*
40 * These can be toggled for performance analysis, otherwise use default.
41 */
Mingkai Hufc25a552011-07-21 17:03:54 -050042#define CONFIG_SYS_INIT_L2CSR0 L2CSR0_L2E
Mingkai Huf354b532011-07-07 12:29:15 +080043
Mingkai Huf354b532011-07-07 12:29:15 +080044#define CONFIG_POST CONFIG_SYS_POST_MEMORY /* test POST memory test */
Mingkai Huf354b532011-07-07 12:29:15 +080045
46/*
47 * Config the L3 Cache as L3 SRAM
48 */
49#define CONFIG_SYS_INIT_L3_ADDR CONFIG_RAMBOOT_TEXT_BASE
50#ifdef CONFIG_PHYS_64BIT
51#define CONFIG_SYS_INIT_L3_ADDR_PHYS (0xf00000000ull | \
52 CONFIG_RAMBOOT_TEXT_BASE)
53#else
54#define CONFIG_SYS_INIT_L3_ADDR_PHYS CONFIG_SYS_INIT_L3_ADDR
55#endif
Mingkai Huf354b532011-07-07 12:29:15 +080056
Mingkai Huf354b532011-07-07 12:29:15 +080057#ifdef CONFIG_PHYS_64BIT
58#define CONFIG_SYS_DCSRBAR 0xf0000000
59#define CONFIG_SYS_DCSRBAR_PHYS 0xf00000000ull
60#endif
61
Mingkai Huf354b532011-07-07 12:29:15 +080062/*
63 * DDR Setup
64 */
65#define CONFIG_VERY_BIG_RAM
66#define CONFIG_SYS_DDR_SDRAM_BASE 0x00000000
Tom Rinibb4dd962022-11-16 13:10:37 -050067#define CFG_SYS_SDRAM_BASE CONFIG_SYS_DDR_SDRAM_BASE
Mingkai Huf354b532011-07-07 12:29:15 +080068
Mingkai Huf354b532011-07-07 12:29:15 +080069#define SPD_EEPROM_ADDRESS 0x52
Tom Rinibb4dd962022-11-16 13:10:37 -050070#define CFG_SYS_SDRAM_SIZE 4096 /* for fixed parameter use */
Mingkai Huf354b532011-07-07 12:29:15 +080071
72/*
73 * Local Bus Definitions
74 */
75
76/* Set the local bus clock 1/8 of platform clock */
77#define CONFIG_SYS_LBC_LCRR LCRR_CLKDIV_8
78
York Sun7664bfe2012-10-26 16:40:15 +000079/*
80 * This board doesn't have a promjet connector.
81 * However, it uses commone corenet board LAW and TLB.
82 * It is necessary to use the same start address with proper offset.
83 */
84#define CONFIG_SYS_FLASH_BASE 0xe0000000
Mingkai Huf354b532011-07-07 12:29:15 +080085#ifdef CONFIG_PHYS_64BIT
York Sun7664bfe2012-10-26 16:40:15 +000086#define CONFIG_SYS_FLASH_BASE_PHYS 0xfe0000000ull
Mingkai Huf354b532011-07-07 12:29:15 +080087#else
88#define CONFIG_SYS_FLASH_BASE_PHYS CONFIG_SYS_FLASH_BASE
89#endif
90
Mingkai Huf354b532011-07-07 12:29:15 +080091#define CONFIG_FSL_CPLD
92#define CPLD_BASE 0xffdf0000 /* CPLD registers */
93#ifdef CONFIG_PHYS_64BIT
94#define CPLD_BASE_PHYS 0xfffdf0000ull
95#else
96#define CPLD_BASE_PHYS CPLD_BASE
97#endif
98
Mingkai Huf354b532011-07-07 12:29:15 +080099#define PIXIS_LBMAP_SWITCH 7
100#define PIXIS_LBMAP_MASK 0xf0
101#define PIXIS_LBMAP_SHIFT 4
102#define PIXIS_LBMAP_ALTBANK 0x40
103
Mingkai Huf354b532011-07-07 12:29:15 +0800104#define CONFIG_FLASH_SHOW_PROGRESS 45 /* count down from 45/5: 9..1 */
105
Shaohui Xief8c49c12012-02-28 23:28:07 +0000106/* Nand Flash */
107#ifdef CONFIG_NAND_FSL_ELBC
Tom Rinib4213492022-11-12 17:36:51 -0500108#define CFG_SYS_NAND_BASE 0xffa00000
Shaohui Xief8c49c12012-02-28 23:28:07 +0000109#ifdef CONFIG_PHYS_64BIT
Tom Rinib4213492022-11-12 17:36:51 -0500110#define CFG_SYS_NAND_BASE_PHYS 0xfffa00000ull
Shaohui Xief8c49c12012-02-28 23:28:07 +0000111#else
Tom Rinib4213492022-11-12 17:36:51 -0500112#define CFG_SYS_NAND_BASE_PHYS CFG_SYS_NAND_BASE
Shaohui Xief8c49c12012-02-28 23:28:07 +0000113#endif
114
Tom Rinib4213492022-11-12 17:36:51 -0500115#define CFG_SYS_NAND_BASE_LIST {CFG_SYS_NAND_BASE}
Shaohui Xief8c49c12012-02-28 23:28:07 +0000116
117/* NAND flash config */
Tom Rinib4213492022-11-12 17:36:51 -0500118#define CFG_SYS_NAND_BR_PRELIM (BR_PHYS_ADDR(CFG_SYS_NAND_BASE_PHYS) \
Shaohui Xief8c49c12012-02-28 23:28:07 +0000119 | (2<<BR_DECC_SHIFT) /* Use HW ECC */ \
120 | BR_PS_8 /* Port Size = 8 bit */ \
121 | BR_MS_FCM /* MSEL = FCM */ \
122 | BR_V) /* valid */
Tom Rinib4213492022-11-12 17:36:51 -0500123#define CFG_SYS_NAND_OR_PRELIM (0xFFFC0000 /* length 256K */ \
Shaohui Xief8c49c12012-02-28 23:28:07 +0000124 | OR_FCM_PGS /* Large Page*/ \
125 | OR_FCM_CSCT \
126 | OR_FCM_CST \
127 | OR_FCM_CHT \
128 | OR_FCM_SCY_1 \
129 | OR_FCM_TRLX \
130 | OR_FCM_EHTR)
Shaohui Xief8c49c12012-02-28 23:28:07 +0000131#endif /* CONFIG_NAND_FSL_ELBC */
132
York Sun7664bfe2012-10-26 16:40:15 +0000133#define CONFIG_SYS_FLASH_BANKS_LIST {CONFIG_SYS_FLASH_BASE_PHYS + 0x8000000}
Mingkai Huf354b532011-07-07 12:29:15 +0800134
Mingkai Huf354b532011-07-07 12:29:15 +0800135#define CONFIG_HWCONFIG
136
137/* define to use L1 as initial stack */
138#define CONFIG_L1_INIT_RAM
Mingkai Huf354b532011-07-07 12:29:15 +0800139#define CONFIG_SYS_INIT_RAM_ADDR 0xffd00000 /* Initial L1 address */
140#ifdef CONFIG_PHYS_64BIT
141#define CONFIG_SYS_INIT_RAM_ADDR_PHYS_HIGH 0xf
142#define CONFIG_SYS_INIT_RAM_ADDR_PHYS_LOW CONFIG_SYS_INIT_RAM_ADDR
143/* The assembler doesn't like typecast */
144#define CONFIG_SYS_INIT_RAM_ADDR_PHYS \
145 ((CONFIG_SYS_INIT_RAM_ADDR_PHYS_HIGH * 1ull << 32) | \
146 CONFIG_SYS_INIT_RAM_ADDR_PHYS_LOW)
147#else
148#define CONFIG_SYS_INIT_RAM_ADDR_PHYS CONFIG_SYS_INIT_RAM_ADDR
149#define CONFIG_SYS_INIT_RAM_ADDR_PHYS_HIGH 0
150#define CONFIG_SYS_INIT_RAM_ADDR_PHYS_LOW CONFIG_SYS_INIT_RAM_ADDR_PHYS
151#endif
152#define CONFIG_SYS_INIT_RAM_SIZE 0x00004000
153
Tom Rini55f37562022-05-24 14:14:02 -0400154#define CONFIG_SYS_INIT_SP_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
Mingkai Huf354b532011-07-07 12:29:15 +0800155
Mingkai Huf354b532011-07-07 12:29:15 +0800156/* Serial Port - controlled on board with jumper J8
157 * open - index 2
158 * shorted - index 1
159 */
Tom Rinidf6a2152022-11-16 13:10:28 -0500160#define CFG_SYS_NS16550_CLK (get_bus_freq(0)/2)
Mingkai Huf354b532011-07-07 12:29:15 +0800161
162#define CONFIG_SYS_BAUDRATE_TABLE \
163 {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200}
164
Tom Rinidf6a2152022-11-16 13:10:28 -0500165#define CFG_SYS_NS16550_COM1 (CONFIG_SYS_CCSRBAR+0x11C500)
166#define CFG_SYS_NS16550_COM2 (CONFIG_SYS_CCSRBAR+0x11C600)
167#define CFG_SYS_NS16550_COM3 (CONFIG_SYS_CCSRBAR+0x11D500)
168#define CFG_SYS_NS16550_COM4 (CONFIG_SYS_CCSRBAR+0x11D600)
Mingkai Huf354b532011-07-07 12:29:15 +0800169
Mingkai Huf354b532011-07-07 12:29:15 +0800170/* I2C */
Biwen Li6966a172020-05-01 20:04:05 +0800171
Mingkai Huf354b532011-07-07 12:29:15 +0800172
173/*
174 * RapidIO
175 */
Tom Rini40eb5562022-11-16 13:10:40 -0500176#define CFG_SYS_SRIO1_MEM_VIRT 0xa0000000
Mingkai Huf354b532011-07-07 12:29:15 +0800177#ifdef CONFIG_PHYS_64BIT
Tom Rini40eb5562022-11-16 13:10:40 -0500178#define CFG_SYS_SRIO1_MEM_PHYS 0xc20000000ull
Mingkai Huf354b532011-07-07 12:29:15 +0800179#else
Tom Rini40eb5562022-11-16 13:10:40 -0500180#define CFG_SYS_SRIO1_MEM_PHYS 0xa0000000
Mingkai Huf354b532011-07-07 12:29:15 +0800181#endif
Tom Rini40eb5562022-11-16 13:10:40 -0500182#define CFG_SYS_SRIO1_MEM_SIZE 0x10000000 /* 256M */
Mingkai Huf354b532011-07-07 12:29:15 +0800183
Tom Rini40eb5562022-11-16 13:10:40 -0500184#define CFG_SYS_SRIO2_MEM_VIRT 0xb0000000
Mingkai Huf354b532011-07-07 12:29:15 +0800185#ifdef CONFIG_PHYS_64BIT
Tom Rini40eb5562022-11-16 13:10:40 -0500186#define CFG_SYS_SRIO2_MEM_PHYS 0xc30000000ull
Mingkai Huf354b532011-07-07 12:29:15 +0800187#else
Tom Rini40eb5562022-11-16 13:10:40 -0500188#define CFG_SYS_SRIO2_MEM_PHYS 0xb0000000
Mingkai Huf354b532011-07-07 12:29:15 +0800189#endif
Tom Rini40eb5562022-11-16 13:10:40 -0500190#define CFG_SYS_SRIO2_MEM_SIZE 0x10000000 /* 256M */
Mingkai Huf354b532011-07-07 12:29:15 +0800191
192/*
Liu Gangd7b17a92012-08-09 05:09:59 +0000193 * for slave u-boot IMAGE instored in master memory space,
194 * PHYS must be aligned based on the SIZE
195 */
Tom Rini40eb5562022-11-16 13:10:40 -0500196#define CFG_SRIO_PCIE_BOOT_IMAGE_MEM_PHYS 0xfef200000ull
197#define CFG_SRIO_PCIE_BOOT_IMAGE_MEM_BUS1 0xfff00000ull
198#define CFG_SRIO_PCIE_BOOT_IMAGE_SIZE 0x100000 /* 1M */
199#define CFG_SRIO_PCIE_BOOT_IMAGE_MEM_BUS2 0x3fff00000ull
Liu Gangd7b17a92012-08-09 05:09:59 +0000200/*
201 * for slave UCODE and ENV instored in master memory space,
202 * PHYS must be aligned based on the SIZE
203 */
Tom Rini40eb5562022-11-16 13:10:40 -0500204#define CFG_SRIO_PCIE_BOOT_UCODE_ENV_MEM_PHYS 0xfef100000ull
205#define CFG_SRIO_PCIE_BOOT_UCODE_ENV_MEM_BUS 0x3ffe00000ull
206#define CFG_SRIO_PCIE_BOOT_UCODE_ENV_SIZE 0x40000 /* 256K */
Liu Gangd7b17a92012-08-09 05:09:59 +0000207
208/* slave core release by master*/
Tom Rini40eb5562022-11-16 13:10:40 -0500209#define CFG_SRIO_PCIE_BOOT_BRR_OFFSET 0xe00e4
210#define CFG_SRIO_PCIE_BOOT_RELEASE_MASK 0x00000001 /* release core 0 */
Liu Gangd7b17a92012-08-09 05:09:59 +0000211
212/*
Liu Gangb4611ee2012-08-09 05:10:03 +0000213 * SRIO_PCIE_BOOT - SLAVE
Liu Gangd7b17a92012-08-09 05:09:59 +0000214 */
Liu Gangb4611ee2012-08-09 05:10:03 +0000215#ifdef CONFIG_SRIO_PCIE_BOOT_SLAVE
Tom Rini40eb5562022-11-16 13:10:40 -0500216#define CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR 0xFFE00000
217#define CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR_PHYS \
218 (0x300000000ull | CFG_SYS_SRIO_PCIE_BOOT_UCODE_ENV_ADDR)
Liu Gangd7b17a92012-08-09 05:09:59 +0000219#endif
220
221/*
Mingkai Huf354b532011-07-07 12:29:15 +0800222 * eSPI - Enhanced SPI
223 */
Mingkai Huf354b532011-07-07 12:29:15 +0800224
225/*
226 * General PCI
227 * Memory space is mapped 1-1, but I/O space must start from 0.
228 */
229
230/* controller 1, direct to uli, tgtid 3, Base address 20000 */
Tom Rini56af6592022-11-16 13:10:33 -0500231#define CFG_SYS_PCIE1_MEM_VIRT 0x80000000
232#define CFG_SYS_PCIE1_MEM_PHYS 0xc00000000ull
233#define CFG_SYS_PCIE1_IO_VIRT 0xf8000000
234#define CFG_SYS_PCIE1_IO_PHYS 0xff8000000ull
Mingkai Huf354b532011-07-07 12:29:15 +0800235
236/* controller 2, Slot 2, tgtid 2, Base address 201000 */
Tom Rini56af6592022-11-16 13:10:33 -0500237#define CFG_SYS_PCIE2_MEM_VIRT 0xa0000000
238#define CFG_SYS_PCIE2_MEM_PHYS 0xc20000000ull
239#define CFG_SYS_PCIE2_IO_VIRT 0xf8010000
240#define CFG_SYS_PCIE2_IO_PHYS 0xff8010000ull
Mingkai Huf354b532011-07-07 12:29:15 +0800241
242/* controller 3, Slot 1, tgtid 1, Base address 202000 */
Tom Rini56af6592022-11-16 13:10:33 -0500243#define CFG_SYS_PCIE3_MEM_VIRT 0xc0000000
244#define CFG_SYS_PCIE3_MEM_PHYS 0xc40000000ull
Mingkai Huf354b532011-07-07 12:29:15 +0800245
246/* Qman/Bman */
Mingkai Huf354b532011-07-07 12:29:15 +0800247#define CONFIG_SYS_BMAN_NUM_PORTALS 10
248#define CONFIG_SYS_BMAN_MEM_BASE 0xf4000000
249#ifdef CONFIG_PHYS_64BIT
250#define CONFIG_SYS_BMAN_MEM_PHYS 0xff4000000ull
251#else
252#define CONFIG_SYS_BMAN_MEM_PHYS CONFIG_SYS_BMAN_MEM_BASE
253#endif
254#define CONFIG_SYS_BMAN_MEM_SIZE 0x00200000
Jeffrey Ladouceurff2c6462014-12-08 14:54:01 -0500255#define CONFIG_SYS_BMAN_SP_CENA_SIZE 0x4000
256#define CONFIG_SYS_BMAN_SP_CINH_SIZE 0x1000
257#define CONFIG_SYS_BMAN_CENA_BASE CONFIG_SYS_BMAN_MEM_BASE
258#define CONFIG_SYS_BMAN_CENA_SIZE (CONFIG_SYS_BMAN_MEM_SIZE >> 1)
259#define CONFIG_SYS_BMAN_CINH_BASE (CONFIG_SYS_BMAN_MEM_BASE + \
260 CONFIG_SYS_BMAN_CENA_SIZE)
261#define CONFIG_SYS_BMAN_CINH_SIZE (CONFIG_SYS_BMAN_MEM_SIZE >> 1)
262#define CONFIG_SYS_BMAN_SWP_ISDR_REG 0xE08
Mingkai Huf354b532011-07-07 12:29:15 +0800263#define CONFIG_SYS_QMAN_NUM_PORTALS 10
264#define CONFIG_SYS_QMAN_MEM_BASE 0xf4200000
265#ifdef CONFIG_PHYS_64BIT
266#define CONFIG_SYS_QMAN_MEM_PHYS 0xff4200000ull
267#else
268#define CONFIG_SYS_QMAN_MEM_PHYS CONFIG_SYS_QMAN_MEM_BASE
269#endif
270#define CONFIG_SYS_QMAN_MEM_SIZE 0x00200000
Jeffrey Ladouceurff2c6462014-12-08 14:54:01 -0500271#define CONFIG_SYS_QMAN_SP_CINH_SIZE 0x1000
Jeffrey Ladouceurff2c6462014-12-08 14:54:01 -0500272#define CONFIG_SYS_QMAN_CENA_SIZE (CONFIG_SYS_QMAN_MEM_SIZE >> 1)
273#define CONFIG_SYS_QMAN_CINH_BASE (CONFIG_SYS_QMAN_MEM_BASE + \
274 CONFIG_SYS_QMAN_CENA_SIZE)
275#define CONFIG_SYS_QMAN_CINH_SIZE (CONFIG_SYS_QMAN_MEM_SIZE >> 1)
276#define CONFIG_SYS_QMAN_SWP_ISDR_REG 0xE08
Mingkai Huf354b532011-07-07 12:29:15 +0800277
Mingkai Huf354b532011-07-07 12:29:15 +0800278#ifdef CONFIG_FMAN_ENET
279#define CONFIG_SYS_FM1_DTSEC1_PHY_ADDR 0x2
280#define CONFIG_SYS_FM1_DTSEC2_PHY_ADDR 0x3
281#define CONFIG_SYS_FM1_DTSEC3_PHY_ADDR 0x4
282#define CONFIG_SYS_FM1_DTSEC4_PHY_ADDR 0x1
283#define CONFIG_SYS_FM1_DTSEC5_PHY_ADDR 0x0
284
285#define CONFIG_SYS_FM1_DTSEC1_RISER_PHY_ADDR 0x1c
286#define CONFIG_SYS_FM1_DTSEC2_RISER_PHY_ADDR 0x1d
287#define CONFIG_SYS_FM1_DTSEC3_RISER_PHY_ADDR 0x1e
288#define CONFIG_SYS_FM1_DTSEC4_RISER_PHY_ADDR 0x1f
289
Mingkai Hu4c46d822011-07-19 16:20:13 +0800290#define CONFIG_SYS_FM1_10GEC1_PHY_ADDR 0
291
Mingkai Huf354b532011-07-07 12:29:15 +0800292#define CONFIG_SYS_TBIPA_VALUE 8
Mingkai Huf354b532011-07-07 12:29:15 +0800293#endif
294
Mingkai Huf354b532011-07-07 12:29:15 +0800295#ifdef CONFIG_MMC
Tom Rini376b88a2022-10-28 20:27:13 -0400296#define CFG_SYS_FSL_ESDHC_ADDR CFG_SYS_MPC85xx_ESDHC_ADDR
Mingkai Huf354b532011-07-07 12:29:15 +0800297#endif
298
299/*
300 * Miscellaneous configurable options
301 */
Mingkai Huf354b532011-07-07 12:29:15 +0800302
303/*
304 * For booting Linux, the board info and command line data
305 * have to be in the first 64 MB of memory, since this is
306 * the maximum mapped by the Linux kernel during initialization.
307 */
308#define CONFIG_SYS_BOOTMAPSZ (64 << 20) /* Initial Memory for Linux */
Mingkai Huf354b532011-07-07 12:29:15 +0800309
Mingkai Huf354b532011-07-07 12:29:15 +0800310/*
311 * Environment Configuration
312 */
Joe Hershberger257ff782011-10-13 13:03:47 +0000313#define CONFIG_ROOTPATH "/opt/nfsroot"
Mingkai Huf354b532011-07-07 12:29:15 +0800314#define CONFIG_UBOOTPATH u-boot.bin
315
Mingkai Huf354b532011-07-07 12:29:15 +0800316#define __USB_PHY_TYPE utmi
317
318#define CONFIG_EXTRA_ENV_SETTINGS \
319 "hwconfig=fsl_ddr:ctlr_intlv=cacheline," \
320 "bank_intlv=cs0_cs1\0" \
321 "netdev=eth0\0" \
Marek Vasut0b3176c2012-09-23 17:41:24 +0200322 "uboot=" __stringify(CONFIG_UBOOTPATH) "\0" \
Simon Glass72cc5382022-10-20 18:22:39 -0600323 "ubootaddr=" __stringify(CONFIG_TEXT_BASE) "\0" \
Mingkai Huf354b532011-07-07 12:29:15 +0800324 "tftpflash=tftpboot $loadaddr $uboot && " \
325 "protect off $ubootaddr +$filesize && " \
326 "erase $ubootaddr +$filesize && " \
327 "cp.b $loadaddr $ubootaddr $filesize && " \
328 "protect on $ubootaddr +$filesize && " \
329 "cmp.b $loadaddr $ubootaddr $filesize\0" \
330 "consoledev=ttyS0\0" \
Marek Vasut0b3176c2012-09-23 17:41:24 +0200331 "usb_phy_type=" __stringify(__USB_PHY_TYPE) "\0" \
Mingkai Huf354b532011-07-07 12:29:15 +0800332 "usb_dr_mode=host\0" \
333 "ramdiskaddr=2000000\0" \
334 "ramdiskfile=p2041rdb/ramdisk.uboot\0" \
Scott Woodb7f4b852016-07-19 17:52:06 -0500335 "fdtaddr=1e00000\0" \
Mingkai Huf354b532011-07-07 12:29:15 +0800336 "fdtfile=p2041rdb/p2041rdb.dtb\0" \
Kim Phillips1dedccc2014-05-14 19:33:45 -0500337 "bdev=sda3\0"
Mingkai Huf354b532011-07-07 12:29:15 +0800338
Mingkai Huf354b532011-07-07 12:29:15 +0800339#include <asm/fsl_secure_boot.h>
Mingkai Huf354b532011-07-07 12:29:15 +0800340
Mingkai Huf354b532011-07-07 12:29:15 +0800341#endif /* __CONFIG_H */