blob: 4b3f70c916cb34e7f273bf521e7cd0528b8cd6fa [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Dave Liu24c3aca2006-12-07 21:13:15 +08002/*
3 * Copyright (C) 2006 Freescale Semiconductor, Inc.
Dave Liu24c3aca2006-12-07 21:13:15 +08004 */
5
6#ifndef __CONFIG_H
7#define __CONFIG_H
8
Dave Liu24c3aca2006-12-07 21:13:15 +08009/*
10 * High Level Configuration Options
11 */
12#define CONFIG_E300 1 /* E300 family */
13#define CONFIG_QE 1 /* Has QE */
Wolfgang Denk2ae18242010-10-06 09:05:45 +020014
Dave Liu24c3aca2006-12-07 21:13:15 +080015/*
Dave Liu24c3aca2006-12-07 21:13:15 +080016 * System IO Config
17 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020018#define CONFIG_SYS_SICRL 0x00000000
Dave Liu24c3aca2006-12-07 21:13:15 +080019
Dave Liu24c3aca2006-12-07 21:13:15 +080020/*
Dave Liu24c3aca2006-12-07 21:13:15 +080021 * DDR Setup
22 */
Mario Six8a81bfd2019-01-21 09:18:15 +010023#define CONFIG_SYS_SDRAM_BASE 0x00000000 /* DDR is system memory */
24#define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_SDRAM_BASE
Joe Hershberger989091a2011-10-11 23:57:13 -050025#define CONFIG_SYS_DDRCDR 0x73000002 /* DDR II voltage is 1.8V */
Dave Liu24c3aca2006-12-07 21:13:15 +080026
27#undef CONFIG_SPD_EEPROM
28#if defined(CONFIG_SPD_EEPROM)
29/* Determine DDR configuration from I2C interface
30 */
31#define SPD_EEPROM_ADDRESS 0x51 /* DDR SODIMM */
32#else
33/* Manually set up DDR parameters
34 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020035#define CONFIG_SYS_DDR_SIZE 128 /* MB */
Joe Hershberger2fef4022011-10-11 23:57:29 -050036#define CONFIG_SYS_DDR_CS0_CONFIG (CSCONFIG_EN \
37 | CSCONFIG_AP \
38 | CSCONFIG_ODT_WR_CFG \
39 | CSCONFIG_ROW_BIT_13 \
40 | CSCONFIG_COL_BIT_10)
41 /* 0x80840102 */
42#define CONFIG_SYS_DDR_TIMING_0 ((0 << TIMING_CFG0_RWT_SHIFT) \
43 | (0 << TIMING_CFG0_WRT_SHIFT) \
44 | (0 << TIMING_CFG0_RRT_SHIFT) \
45 | (0 << TIMING_CFG0_WWT_SHIFT) \
46 | (2 << TIMING_CFG0_ACT_PD_EXIT_SHIFT) \
47 | (2 << TIMING_CFG0_PRE_PD_EXIT_SHIFT) \
48 | (8 << TIMING_CFG0_ODT_PD_EXIT_SHIFT) \
49 | (2 << TIMING_CFG0_MRS_CYC_SHIFT))
50 /* 0x00220802 */
51#define CONFIG_SYS_DDR_TIMING_1 ((3 << TIMING_CFG1_PRETOACT_SHIFT) \
52 | (9 << TIMING_CFG1_ACTTOPRE_SHIFT) \
53 | (3 << TIMING_CFG1_ACTTORW_SHIFT) \
54 | (5 << TIMING_CFG1_CASLAT_SHIFT) \
55 | (13 << TIMING_CFG1_REFREC_SHIFT) \
56 | (3 << TIMING_CFG1_WRREC_SHIFT) \
57 | (2 << TIMING_CFG1_ACTTOACT_SHIFT) \
58 | (2 << TIMING_CFG1_WRTORD_SHIFT))
59 /* 0x3935D322 */
60#define CONFIG_SYS_DDR_TIMING_2 ((0 << TIMING_CFG2_ADD_LAT_SHIFT) \
61 | (31 << TIMING_CFG2_CPO_SHIFT) \
62 | (2 << TIMING_CFG2_WR_LAT_DELAY_SHIFT) \
63 | (2 << TIMING_CFG2_RD_TO_PRE_SHIFT) \
64 | (2 << TIMING_CFG2_WR_DATA_DELAY_SHIFT) \
65 | (3 << TIMING_CFG2_CKE_PLS_SHIFT) \
66 | (10 << TIMING_CFG2_FOUR_ACT_SHIFT))
67 /* 0x0F9048CA */
Joe Hershberger989091a2011-10-11 23:57:13 -050068#define CONFIG_SYS_DDR_TIMING_3 0x00000000
Joe Hershberger2fef4022011-10-11 23:57:29 -050069#define CONFIG_SYS_DDR_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05
70 /* 0x02000000 */
71#define CONFIG_SYS_DDR_MODE ((0x4440 << SDRAM_MODE_ESD_SHIFT) \
72 | (0x0232 << SDRAM_MODE_SD_SHIFT))
73 /* 0x44400232 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020074#define CONFIG_SYS_DDR_MODE2 0x8000c000
Joe Hershberger2fef4022011-10-11 23:57:29 -050075#define CONFIG_SYS_DDR_INTERVAL ((800 << SDRAM_INTERVAL_REFINT_SHIFT) \
76 | (100 << SDRAM_INTERVAL_BSTOPRE_SHIFT))
77 /* 0x03200064 */
Joe Hershberger989091a2011-10-11 23:57:13 -050078#define CONFIG_SYS_DDR_CS0_BNDS 0x00000007
Joe Hershberger2fef4022011-10-11 23:57:29 -050079#define CONFIG_SYS_DDR_SDRAM_CFG (SDRAM_CFG_SREN \
80 | SDRAM_CFG_SDRAM_TYPE_DDR2 \
81 | SDRAM_CFG_32_BE)
82 /* 0x43080000 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020083#define CONFIG_SYS_DDR_SDRAM_CFG2 0x00401000
Dave Liu24c3aca2006-12-07 21:13:15 +080084#endif
85
86/*
87 * Memory test
88 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020089#undef CONFIG_SYS_DRAM_TEST /* memory test, takes time */
90#define CONFIG_SYS_MEMTEST_START 0x00000000 /* memtest region */
91#define CONFIG_SYS_MEMTEST_END 0x00100000
Dave Liu24c3aca2006-12-07 21:13:15 +080092
93/*
94 * The reserved memory
95 */
Wolfgang Denk14d0a022010-10-07 21:51:12 +020096#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE /* start of monitor */
Dave Liu24c3aca2006-12-07 21:13:15 +080097
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020098#if (CONFIG_SYS_MONITOR_BASE < CONFIG_SYS_FLASH_BASE)
99#define CONFIG_SYS_RAMBOOT
Dave Liu24c3aca2006-12-07 21:13:15 +0800100#else
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200101#undef CONFIG_SYS_RAMBOOT
Dave Liu24c3aca2006-12-07 21:13:15 +0800102#endif
103
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200104/* CONFIG_SYS_MONITOR_LEN must be a multiple of CONFIG_ENV_SECT_SIZE */
Kevin Hao16c8c172016-07-08 11:25:14 +0800105#define CONFIG_SYS_MONITOR_LEN (512 * 1024) /* Reserve 512 kB for Mon */
Timur Tabi3b6b2562012-03-17 17:44:00 -0500106#define CONFIG_SYS_MALLOC_LEN (256 * 1024) /* Reserved for malloc */
Dave Liu24c3aca2006-12-07 21:13:15 +0800107
108/*
109 * Initial RAM Base Address Setup
110 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200111#define CONFIG_SYS_INIT_RAM_LOCK 1
Joe Hershberger989091a2011-10-11 23:57:13 -0500112#define CONFIG_SYS_INIT_RAM_ADDR 0xE6000000 /* Initial RAM addr */
113#define CONFIG_SYS_INIT_RAM_SIZE 0x1000 /* Size of used area in RAM */
114#define CONFIG_SYS_GBL_DATA_OFFSET \
115 (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
Dave Liu24c3aca2006-12-07 21:13:15 +0800116
117/*
118 * Local Bus Configuration & Clock Setup
119 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200120#define CONFIG_SYS_LBC_LBCR 0x00000000
Dave Liu24c3aca2006-12-07 21:13:15 +0800121
122/*
123 * FLASH on the Local Bus
124 */
Joe Hershberger989091a2011-10-11 23:57:13 -0500125#define CONFIG_SYS_FLASH_BASE 0xFE000000 /* FLASH base address */
126#define CONFIG_SYS_FLASH_SIZE 16 /* FLASH size is 16M */
Dave Liu24c3aca2006-12-07 21:13:15 +0800127
Dave Liu24c3aca2006-12-07 21:13:15 +0800128
Joe Hershberger989091a2011-10-11 23:57:13 -0500129#define CONFIG_SYS_MAX_FLASH_BANKS 1 /* number of banks */
130#define CONFIG_SYS_MAX_FLASH_SECT 128 /* sectors per device */
Dave Liu24c3aca2006-12-07 21:13:15 +0800131
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200132#undef CONFIG_SYS_FLASH_CHECKSUM
Dave Liu24c3aca2006-12-07 21:13:15 +0800133
134/*
135 * BCSR on the Local Bus
136 */
Joe Hershberger989091a2011-10-11 23:57:13 -0500137#define CONFIG_SYS_BCSR 0xF8000000
138 /* Access window base at BCSR base */
Dave Liu24c3aca2006-12-07 21:13:15 +0800139
Dave Liu24c3aca2006-12-07 21:13:15 +0800140
141/*
142 * Windows to access PIB via local bus
143 */
Joe Hershberger7d6a0982011-10-11 23:57:30 -0500144 /* PIB window base 0xF8008000 */
145#define CONFIG_SYS_PIB_BASE 0xF8008000
146#define CONFIG_SYS_PIB_WINDOW_SIZE (32 * 1024)
Dave Liu24c3aca2006-12-07 21:13:15 +0800147
148/*
149 * CS2 on Local Bus, to PIB
150 */
Mario Sixa8f97532019-01-21 09:18:01 +0100151
Dave Liu24c3aca2006-12-07 21:13:15 +0800152
153/*
154 * CS3 on Local Bus, to PIB
155 */
Mario Sixa8f97532019-01-21 09:18:01 +0100156
Dave Liu24c3aca2006-12-07 21:13:15 +0800157
158/*
159 * Serial Port
160 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200161#define CONFIG_SYS_NS16550_SERIAL
162#define CONFIG_SYS_NS16550_REG_SIZE 1
163#define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
Dave Liu24c3aca2006-12-07 21:13:15 +0800164
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200165#define CONFIG_SYS_BAUDRATE_TABLE \
Joe Hershberger989091a2011-10-11 23:57:13 -0500166 {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 115200}
Dave Liu24c3aca2006-12-07 21:13:15 +0800167
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200168#define CONFIG_SYS_NS16550_COM1 (CONFIG_SYS_IMMR+0x4500)
169#define CONFIG_SYS_NS16550_COM2 (CONFIG_SYS_IMMR+0x4600)
Dave Liu24c3aca2006-12-07 21:13:15 +0800170
Dave Liu24c3aca2006-12-07 21:13:15 +0800171/* I2C */
Heiko Schocher00f792e2012-10-24 13:48:22 +0200172#define CONFIG_SYS_I2C
173#define CONFIG_SYS_I2C_FSL
174#define CONFIG_SYS_FSL_I2C_SPEED 400000
175#define CONFIG_SYS_FSL_I2C_SLAVE 0x7F
176#define CONFIG_SYS_FSL_I2C_OFFSET 0x3000
177#define CONFIG_SYS_I2C_NOPROBES { {0, 0x51} }
Dave Liu24c3aca2006-12-07 21:13:15 +0800178
179/*
180 * Config on-board RTC
181 */
182#define CONFIG_RTC_DS1374 /* use ds1374 rtc via i2c */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200183#define CONFIG_SYS_I2C_RTC_ADDR 0x68 /* at address 0x68 */
Dave Liu24c3aca2006-12-07 21:13:15 +0800184
185/*
186 * General PCI
187 * Addresses are mapped 1-1.
188 */
Kim Phillips9993e192009-07-18 18:42:13 -0500189#define CONFIG_SYS_PCI1_MEM_BASE 0x80000000
190#define CONFIG_SYS_PCI1_MEM_PHYS CONFIG_SYS_PCI1_MEM_BASE
191#define CONFIG_SYS_PCI1_MEM_SIZE 0x10000000 /* 256M */
192#define CONFIG_SYS_PCI1_MMIO_BASE 0x90000000
193#define CONFIG_SYS_PCI1_MMIO_PHYS CONFIG_SYS_PCI1_MMIO_BASE
194#define CONFIG_SYS_PCI1_MMIO_SIZE 0x10000000 /* 256M */
195#define CONFIG_SYS_PCI1_IO_BASE 0x00000000
196#define CONFIG_SYS_PCI1_IO_PHYS 0xE0300000
197#define CONFIG_SYS_PCI1_IO_SIZE 0x100000 /* 1M */
Dave Liu24c3aca2006-12-07 21:13:15 +0800198
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200199#define CONFIG_SYS_PCI_SLV_MEM_LOCAL CONFIG_SYS_SDRAM_BASE
200#define CONFIG_SYS_PCI_SLV_MEM_BUS 0x00000000
201#define CONFIG_SYS_PCI_SLV_MEM_SIZE 0x80000000
Dave Liu24c3aca2006-12-07 21:13:15 +0800202
Dave Liu24c3aca2006-12-07 21:13:15 +0800203#ifdef CONFIG_PCI
Gabor Juhos842033e2013-05-30 07:06:12 +0000204#define CONFIG_PCI_INDIRECT_BRIDGE
Dave Liu24c3aca2006-12-07 21:13:15 +0800205
Kim Phillips9993e192009-07-18 18:42:13 -0500206#define CONFIG_83XX_PCI_STREAMING
Dave Liu24c3aca2006-12-07 21:13:15 +0800207
208#undef CONFIG_EEPRO100
209#undef CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200210#define CONFIG_SYS_PCI_SUBSYS_VENDORID 0x1957 /* Freescale */
Dave Liu24c3aca2006-12-07 21:13:15 +0800211
212#endif /* CONFIG_PCI */
213
Dave Liu24c3aca2006-12-07 21:13:15 +0800214/*
215 * QE UEC ethernet configuration
216 */
217#define CONFIG_UEC_ETH
Kim Phillips78b7a8e2010-07-26 18:34:57 -0500218#define CONFIG_ETHPRIME "UEC0"
Dave Liu24c3aca2006-12-07 21:13:15 +0800219
220#define CONFIG_UEC_ETH1 /* ETH3 */
221
222#ifdef CONFIG_UEC_ETH1
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200223#define CONFIG_SYS_UEC1_UCC_NUM 2 /* UCC3 */
224#define CONFIG_SYS_UEC1_RX_CLK QE_CLK9
225#define CONFIG_SYS_UEC1_TX_CLK QE_CLK10
226#define CONFIG_SYS_UEC1_ETH_TYPE FAST_ETH
227#define CONFIG_SYS_UEC1_PHY_ADDR 3
Andy Fleming865ff852011-04-13 00:37:12 -0500228#define CONFIG_SYS_UEC1_INTERFACE_TYPE PHY_INTERFACE_MODE_MII
Heiko Schocher582c55a2010-01-20 09:04:28 +0100229#define CONFIG_SYS_UEC1_INTERFACE_SPEED 100
Dave Liu24c3aca2006-12-07 21:13:15 +0800230#endif
231
232#define CONFIG_UEC_ETH2 /* ETH4 */
233
234#ifdef CONFIG_UEC_ETH2
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200235#define CONFIG_SYS_UEC2_UCC_NUM 3 /* UCC4 */
236#define CONFIG_SYS_UEC2_RX_CLK QE_CLK7
237#define CONFIG_SYS_UEC2_TX_CLK QE_CLK8
238#define CONFIG_SYS_UEC2_ETH_TYPE FAST_ETH
239#define CONFIG_SYS_UEC2_PHY_ADDR 4
Andy Fleming865ff852011-04-13 00:37:12 -0500240#define CONFIG_SYS_UEC2_INTERFACE_TYPE PHY_INTERFACE_MODE_MII
Heiko Schocher582c55a2010-01-20 09:04:28 +0100241#define CONFIG_SYS_UEC2_INTERFACE_SPEED 100
Dave Liu24c3aca2006-12-07 21:13:15 +0800242#endif
243
244/*
245 * Environment
246 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200247#ifndef CONFIG_SYS_RAMBOOT
Joe Hershberger989091a2011-10-11 23:57:13 -0500248 #define CONFIG_ENV_ADDR \
249 (CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)
Jean-Christophe PLAGNIOL-VILLARD0e8d1582008-09-10 22:48:06 +0200250 #define CONFIG_ENV_SECT_SIZE 0x20000
251 #define CONFIG_ENV_SIZE 0x2000
Dave Liu24c3aca2006-12-07 21:13:15 +0800252#else
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200253 #define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - 0x1000)
Jean-Christophe PLAGNIOL-VILLARD0e8d1582008-09-10 22:48:06 +0200254 #define CONFIG_ENV_SIZE 0x2000
Dave Liu24c3aca2006-12-07 21:13:15 +0800255#endif
256
257#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200258#define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
Dave Liu24c3aca2006-12-07 21:13:15 +0800259
Jon Loeliger8ea54992007-07-04 22:30:06 -0500260/*
Jon Loeliger079a1362007-07-10 10:12:10 -0500261 * BOOTP options
262 */
263#define CONFIG_BOOTP_BOOTFILESIZE
Jon Loeliger079a1362007-07-10 10:12:10 -0500264
Jon Loeliger079a1362007-07-10 10:12:10 -0500265/*
Jon Loeliger8ea54992007-07-04 22:30:06 -0500266 * Command line configuration.
267 */
Jon Loeliger8ea54992007-07-04 22:30:06 -0500268
Dave Liu24c3aca2006-12-07 21:13:15 +0800269#undef CONFIG_WATCHDOG /* watchdog disabled */
270
271/*
272 * Miscellaneous configurable options
273 */
Joe Hershberger989091a2011-10-11 23:57:13 -0500274#define CONFIG_SYS_LOAD_ADDR 0x2000000 /* default load address */
Dave Liu24c3aca2006-12-07 21:13:15 +0800275
Dave Liu24c3aca2006-12-07 21:13:15 +0800276/*
277 * For booting Linux, the board info and command line data
Ira W. Snyder9f530d52010-09-10 15:42:32 -0700278 * have to be in the first 256 MB of memory, since this is
Dave Liu24c3aca2006-12-07 21:13:15 +0800279 * the maximum mapped by the Linux kernel during initialization.
280 */
Joe Hershberger989091a2011-10-11 23:57:13 -0500281 /* Initial Memory map for Linux */
282#define CONFIG_SYS_BOOTMAPSZ (256 << 20)
Kevin Hao63865272016-07-08 11:25:15 +0800283#define CONFIG_SYS_BOOTM_LEN (64 << 20) /* Increase max gunzip size */
Dave Liu24c3aca2006-12-07 21:13:15 +0800284
Jon Loeliger8ea54992007-07-04 22:30:06 -0500285#if defined(CONFIG_CMD_KGDB)
Dave Liu24c3aca2006-12-07 21:13:15 +0800286#define CONFIG_KGDB_BAUDRATE 230400 /* speed of kgdb serial port */
Dave Liu24c3aca2006-12-07 21:13:15 +0800287#endif
288
289/*
290 * Environment Configuration
Kim Phillips9993e192009-07-18 18:42:13 -0500291 */ #define CONFIG_ENV_OVERWRITE
Dave Liu24c3aca2006-12-07 21:13:15 +0800292
293#if defined(CONFIG_UEC_ETH)
Kim Phillips977b5752008-01-09 15:24:06 -0600294#define CONFIG_HAS_ETH0
Dave Liu24c3aca2006-12-07 21:13:15 +0800295#define CONFIG_HAS_ETH1
Dave Liu24c3aca2006-12-07 21:13:15 +0800296#endif
297
Kim Phillips79f516b2009-08-21 16:34:38 -0500298#define CONFIG_LOADADDR 800000 /* default location for tftp and bootm */
Dave Liu24c3aca2006-12-07 21:13:15 +0800299
Dave Liu24c3aca2006-12-07 21:13:15 +0800300#define CONFIG_EXTRA_ENV_SETTINGS \
Joe Hershberger989091a2011-10-11 23:57:13 -0500301 "netdev=eth0\0" \
302 "consoledev=ttyS0\0" \
303 "ramdiskaddr=1000000\0" \
304 "ramdiskfile=ramfs.83xx\0" \
305 "fdtaddr=780000\0" \
306 "fdtfile=mpc832x_mds.dtb\0" \
307 ""
Dave Liu24c3aca2006-12-07 21:13:15 +0800308
309#define CONFIG_NFSBOOTCOMMAND \
Joe Hershberger989091a2011-10-11 23:57:13 -0500310 "setenv bootargs root=/dev/nfs rw " \
311 "nfsroot=$serverip:$rootpath " \
312 "ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:" \
313 "$netdev:off " \
314 "console=$consoledev,$baudrate $othbootargs;" \
315 "tftp $loadaddr $bootfile;" \
316 "tftp $fdtaddr $fdtfile;" \
317 "bootm $loadaddr - $fdtaddr"
Dave Liu24c3aca2006-12-07 21:13:15 +0800318
319#define CONFIG_RAMBOOTCOMMAND \
Joe Hershberger989091a2011-10-11 23:57:13 -0500320 "setenv bootargs root=/dev/ram rw " \
321 "console=$consoledev,$baudrate $othbootargs;" \
322 "tftp $ramdiskaddr $ramdiskfile;" \
323 "tftp $loadaddr $bootfile;" \
324 "tftp $fdtaddr $fdtfile;" \
325 "bootm $loadaddr $ramdiskaddr $fdtaddr"
Dave Liu24c3aca2006-12-07 21:13:15 +0800326
Dave Liu24c3aca2006-12-07 21:13:15 +0800327#define CONFIG_BOOTCOMMAND CONFIG_NFSBOOTCOMMAND
328
329#endif /* __CONFIG_H */