blob: 5adf5a8ca408de4d79c8b241a783948312bff251 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Paul Gortmaker91e25762007-01-16 11:38:14 -05002/*
3 * WindRiver SBC8349 U-Boot configuration file.
4 * Copyright (c) 2006, 2007 Wind River Systems, Inc.
5 *
6 * Paul Gortmaker <paul.gortmaker@windriver.com>
7 * Based on the MPC8349EMDS config.
Paul Gortmaker91e25762007-01-16 11:38:14 -05008 */
9
10/*
11 * sbc8349 board configuration file.
12 */
13
14#ifndef __CONFIG_H
15#define __CONFIG_H
16
Paul Gortmaker91e25762007-01-16 11:38:14 -050017/*
18 * High Level Configuration Options
19 */
20#define CONFIG_E300 1 /* E300 Family */
Paul Gortmaker91e25762007-01-16 11:38:14 -050021
Paul Gortmaker91e25762007-01-16 11:38:14 -050022/* Don't enable PCI2 on sbc834x - it doesn't exist physically. */
23#undef CONFIG_MPC83XX_PCI2 /* support for 2nd PCI controller */
24
Joe Hershberger60e1dc12011-10-11 23:57:25 -050025#undef CONFIG_SYS_DRAM_TEST /* memory test, takes time */
Paul Gortmaker91e25762007-01-16 11:38:14 -050026
27/*
28 * DDR Setup
29 */
30#undef CONFIG_DDR_ECC /* only for ECC DDR module */
31#undef CONFIG_DDR_ECC_CMD /* use DDR ECC user commands */
32#define CONFIG_SPD_EEPROM /* use SPD EEPROM for DDR setup*/
Joe Hershberger60e1dc12011-10-11 23:57:25 -050033#define CONFIG_SYS_83XX_DDR_USES_CS0 /* WRS; Fsl board uses CS2/CS3 */
Paul Gortmaker91e25762007-01-16 11:38:14 -050034
35/*
36 * 32-bit data path mode.
37 *
38 * Please note that using this mode for devices with the real density of 64-bit
39 * effectively reduces the amount of available memory due to the effect of
40 * wrapping around while translating address to row/columns, for example in the
41 * 256MB module the upper 128MB get aliased with contents of the lower
42 * 128MB); normally this define should be used for devices with real 32-bit
43 * data path.
44 */
45#undef CONFIG_DDR_32BIT
46
Mario Six8a81bfd2019-01-21 09:18:15 +010047#define CONFIG_SYS_SDRAM_BASE 0x00000000 /* DDR is system memory*/
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020048#define CONFIG_SYS_DDR_SDRAM_CLK_CNTL (DDR_SDRAM_CLK_CNTL_SS_EN | \
Paul Gortmaker91e25762007-01-16 11:38:14 -050049 DDR_SDRAM_CLK_CNTL_CLK_ADJUST_075)
50#define CONFIG_DDR_2T_TIMING
51
52#if defined(CONFIG_SPD_EEPROM)
53/*
54 * Determine DDR configuration from I2C interface.
55 */
56#define SPD_EEPROM_ADDRESS 0x52 /* DDR DIMM */
57
58#else
59/*
60 * Manually set up DDR parameters
61 * NB: manual DDR setup untested on sbc834x
62 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020063#define CONFIG_SYS_DDR_SIZE 256 /* MB */
Joe Hershberger2e651b22011-10-11 23:57:31 -050064#define CONFIG_SYS_DDR_CS2_CONFIG (CSCONFIG_EN \
Joe Hershberger60e1dc12011-10-11 23:57:25 -050065 | CSCONFIG_ROW_BIT_13 \
66 | CSCONFIG_COL_BIT_10)
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020067#define CONFIG_SYS_DDR_TIMING_1 0x36332321
68#define CONFIG_SYS_DDR_TIMING_2 0x00000800 /* P9-45,may need tuning */
Joe Hershberger60e1dc12011-10-11 23:57:25 -050069#define CONFIG_SYS_DDR_CONTROL 0xc2000000 /* unbuffered,no DYN_PWR */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020070#define CONFIG_SYS_DDR_INTERVAL 0x04060100 /* autocharge,no open page */
Paul Gortmaker91e25762007-01-16 11:38:14 -050071
72#if defined(CONFIG_DDR_32BIT)
73/* set burst length to 8 for 32-bit data path */
Joe Hershberger60e1dc12011-10-11 23:57:25 -050074 /* DLL,normal,seq,4/2.5, 8 burst len */
75#define CONFIG_SYS_DDR_MODE 0x00000023
Paul Gortmaker91e25762007-01-16 11:38:14 -050076#else
77/* the default burst length is 4 - for 64-bit data path */
Joe Hershberger60e1dc12011-10-11 23:57:25 -050078 /* DLL,normal,seq,4/2.5, 4 burst len */
79#define CONFIG_SYS_DDR_MODE 0x00000022
Paul Gortmaker91e25762007-01-16 11:38:14 -050080#endif
81#endif
82
83/*
84 * SDRAM on the Local Bus
85 */
Joe Hershberger7d6a0982011-10-11 23:57:30 -050086#define CONFIG_SYS_LBC_SDRAM_BASE 0xF0000000 /* Localbus SDRAM */
87#define CONFIG_SYS_LBC_SDRAM_SIZE 64 /* LBC SDRAM is 64MB */
Paul Gortmaker91e25762007-01-16 11:38:14 -050088
89/*
90 * FLASH on the Local Bus
91 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020092#define CONFIG_SYS_FLASH_BASE 0xFF800000 /* start of FLASH */
93#define CONFIG_SYS_FLASH_SIZE 8 /* flash size in MB */
Paul Gortmaker91e25762007-01-16 11:38:14 -050094
Joe Hershberger7d6a0982011-10-11 23:57:30 -050095
Joe Hershberger60e1dc12011-10-11 23:57:25 -050096#define CONFIG_SYS_MAX_FLASH_BANKS 1 /* number of banks */
97#define CONFIG_SYS_MAX_FLASH_SECT 64 /* sectors per device */
Paul Gortmaker91e25762007-01-16 11:38:14 -050098
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +020099#undef CONFIG_SYS_FLASH_CHECKSUM
100#define CONFIG_SYS_FLASH_ERASE_TOUT 60000 /* Flash Erase Timeout (ms) */
101#define CONFIG_SYS_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500102
Wolfgang Denk14d0a022010-10-07 21:51:12 +0200103#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE /* start of monitor */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500104
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200105#if (CONFIG_SYS_MONITOR_BASE < CONFIG_SYS_FLASH_BASE)
106#define CONFIG_SYS_RAMBOOT
Paul Gortmaker91e25762007-01-16 11:38:14 -0500107#else
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200108#undef CONFIG_SYS_RAMBOOT
Paul Gortmaker91e25762007-01-16 11:38:14 -0500109#endif
110
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200111#define CONFIG_SYS_INIT_RAM_LOCK 1
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500112 /* Initial RAM address */
113#define CONFIG_SYS_INIT_RAM_ADDR 0xFD000000
114 /* Size of used area in RAM*/
115#define CONFIG_SYS_INIT_RAM_SIZE 0x1000
Paul Gortmaker91e25762007-01-16 11:38:14 -0500116
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500117#define CONFIG_SYS_GBL_DATA_OFFSET \
118 (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200119#define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET
Paul Gortmaker91e25762007-01-16 11:38:14 -0500120
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500121#define CONFIG_SYS_MONITOR_LEN (256 * 1024) /* Reserve 256 kB for Mon */
Kim Phillipsc8a90642012-06-30 18:29:20 -0500122#define CONFIG_SYS_MALLOC_LEN (256 * 1024) /* Reserved for malloc */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500123
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200124#undef CONFIG_SYS_LB_SDRAM /* if board has SDRAM on local bus */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500125
Paul Gortmaker91e25762007-01-16 11:38:14 -0500126/*
127 * Serial Port
128 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200129#define CONFIG_SYS_NS16550_SERIAL
130#define CONFIG_SYS_NS16550_REG_SIZE 1
131#define CONFIG_SYS_NS16550_CLK get_bus_freq(0)
Paul Gortmaker91e25762007-01-16 11:38:14 -0500132
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200133#define CONFIG_SYS_BAUDRATE_TABLE \
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500134 {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 115200}
Paul Gortmaker91e25762007-01-16 11:38:14 -0500135
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200136#define CONFIG_SYS_NS16550_COM1 (CONFIG_SYS_IMMR+0x4500)
137#define CONFIG_SYS_NS16550_COM2 (CONFIG_SYS_IMMR+0x4600)
Paul Gortmaker91e25762007-01-16 11:38:14 -0500138
Paul Gortmaker91e25762007-01-16 11:38:14 -0500139/* I2C */
Heiko Schocher00f792e2012-10-24 13:48:22 +0200140#define CONFIG_SYS_I2C
141#define CONFIG_SYS_I2C_FSL
142#define CONFIG_SYS_FSL_I2C_SPEED 400000
143#define CONFIG_SYS_FSL_I2C_SLAVE 0x7F
144#define CONFIG_SYS_FSL_I2C_OFFSET 0x3000
145#define CONFIG_SYS_FSL_I2C2_SPEED 400000
146#define CONFIG_SYS_FSL_I2C2_SLAVE 0x7F
147#define CONFIG_SYS_FSL_I2C2_OFFSET 0x3100
148#define CONFIG_SYS_I2C_NOPROBES { {0, 0x69}, {1, 0x69} }
Paul Gortmakerefaf6f12009-10-02 18:54:20 -0400149/* could also use CONFIG_I2C_MULTI_BUS and CONFIG_SYS_SPD_BUS_NUM... */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500150
151/* TSEC */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200152#define CONFIG_SYS_TSEC1_OFFSET 0x24000
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500153#define CONFIG_SYS_TSEC1 (CONFIG_SYS_IMMR+CONFIG_SYS_TSEC1_OFFSET)
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200154#define CONFIG_SYS_TSEC2_OFFSET 0x25000
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500155#define CONFIG_SYS_TSEC2 (CONFIG_SYS_IMMR+CONFIG_SYS_TSEC2_OFFSET)
Paul Gortmaker91e25762007-01-16 11:38:14 -0500156
157/*
158 * General PCI
159 * Addresses are mapped 1-1.
160 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200161#define CONFIG_SYS_PCI1_MEM_BASE 0x80000000
162#define CONFIG_SYS_PCI1_MEM_PHYS CONFIG_SYS_PCI1_MEM_BASE
163#define CONFIG_SYS_PCI1_MEM_SIZE 0x10000000 /* 256M */
164#define CONFIG_SYS_PCI1_MMIO_BASE 0x90000000
165#define CONFIG_SYS_PCI1_MMIO_PHYS CONFIG_SYS_PCI1_MMIO_BASE
166#define CONFIG_SYS_PCI1_MMIO_SIZE 0x10000000 /* 256M */
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500167#define CONFIG_SYS_PCI1_IO_BASE 0x00000000
168#define CONFIG_SYS_PCI1_IO_PHYS 0xE2000000
169#define CONFIG_SYS_PCI1_IO_SIZE 0x00100000 /* 1M */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500170
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200171#define CONFIG_SYS_PCI2_MEM_BASE 0xA0000000
172#define CONFIG_SYS_PCI2_MEM_PHYS CONFIG_SYS_PCI2_MEM_BASE
173#define CONFIG_SYS_PCI2_MEM_SIZE 0x10000000 /* 256M */
174#define CONFIG_SYS_PCI2_MMIO_BASE 0xB0000000
175#define CONFIG_SYS_PCI2_MMIO_PHYS CONFIG_SYS_PCI2_MMIO_BASE
176#define CONFIG_SYS_PCI2_MMIO_SIZE 0x10000000 /* 256M */
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500177#define CONFIG_SYS_PCI2_IO_BASE 0x00000000
178#define CONFIG_SYS_PCI2_IO_PHYS 0xE2100000
179#define CONFIG_SYS_PCI2_IO_SIZE 0x00100000 /* 1M */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500180
181#if defined(CONFIG_PCI)
182
Paul Gortmaker91e25762007-01-16 11:38:14 -0500183#undef CONFIG_EEPRO100
184#undef CONFIG_TULIP
185
186#if !defined(CONFIG_PCI_PNP)
187 #define PCI_ENET0_IOADDR 0xFIXME
188 #define PCI_ENET0_MEMADDR 0xFIXME
189 #define PCI_IDSEL_NUMBER 0xFIXME
190#endif
191
192#undef CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200193#define CONFIG_SYS_PCI_SUBSYS_VENDORID 0x1057 /* Motorola */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500194
195#endif /* CONFIG_PCI */
196
197/*
198 * TSEC configuration
199 */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500200
201#if defined(CONFIG_TSEC_ENET)
Paul Gortmaker91e25762007-01-16 11:38:14 -0500202
Kim Phillips255a35772007-05-16 16:52:19 -0500203#define CONFIG_TSEC1 1
204#define CONFIG_TSEC1_NAME "TSEC0"
205#define CONFIG_TSEC2 1
206#define CONFIG_TSEC2_NAME "TSEC1"
Paul Gortmaker91e25762007-01-16 11:38:14 -0500207#define CONFIG_PHY_BCM5421S 1
208#define TSEC1_PHY_ADDR 0x19
209#define TSEC2_PHY_ADDR 0x1a
210#define TSEC1_PHYIDX 0
211#define TSEC2_PHYIDX 0
Andy Fleming3a790132007-08-15 20:03:25 -0500212#define TSEC1_FLAGS TSEC_GIGABIT
213#define TSEC2_FLAGS TSEC_GIGABIT
Paul Gortmaker91e25762007-01-16 11:38:14 -0500214
215/* Options are: TSEC[0-1] */
216#define CONFIG_ETHPRIME "TSEC0"
217
218#endif /* CONFIG_TSEC_ENET */
219
220/*
221 * Environment
222 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200223#ifndef CONFIG_SYS_RAMBOOT
Paul Gortmaker91e25762007-01-16 11:38:14 -0500224/* Address and size of Redundant Environment Sector */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500225#endif
226
227#define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200228#define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500229
Jon Loeliger866e3082007-07-04 22:30:58 -0500230/*
Jon Loeliger079a1362007-07-10 10:12:10 -0500231 * BOOTP options
232 */
233#define CONFIG_BOOTP_BOOTFILESIZE
Jon Loeliger079a1362007-07-10 10:12:10 -0500234
Paul Gortmaker91e25762007-01-16 11:38:14 -0500235#undef CONFIG_WATCHDOG /* watchdog disabled */
236
237/*
238 * Miscellaneous configurable options
239 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200240#define CONFIG_SYS_LOAD_ADDR 0x2000000 /* default load address */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500241
Paul Gortmaker91e25762007-01-16 11:38:14 -0500242/*
243 * For booting Linux, the board info and command line data
Ira W. Snyder9f530d52010-09-10 15:42:32 -0700244 * have to be in the first 256 MB of memory, since this is
Paul Gortmaker91e25762007-01-16 11:38:14 -0500245 * the maximum mapped by the Linux kernel during initialization.
246 */
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500247 /* Initial Memory map for Linux*/
248#define CONFIG_SYS_BOOTMAPSZ (256 << 20)
Paul Gortmaker91e25762007-01-16 11:38:14 -0500249
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200250#define CONFIG_SYS_RCWH_PCIHOST 0x80000000 /* PCIHOST */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500251
Paul Gortmaker91e25762007-01-16 11:38:14 -0500252/* System IO Config */
Kim Phillips3c9b1ee2009-06-05 14:11:33 -0500253#define CONFIG_SYS_SICRH 0
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200254#define CONFIG_SYS_SICRL SICRL_LDP_A
Paul Gortmaker91e25762007-01-16 11:38:14 -0500255
Paul Gortmaker91e25762007-01-16 11:38:14 -0500256#ifdef CONFIG_PCI
Gabor Juhos842033e2013-05-30 07:06:12 +0000257#define CONFIG_PCI_INDIRECT_BRIDGE
Paul Gortmaker91e25762007-01-16 11:38:14 -0500258#endif
259
Jon Loeliger866e3082007-07-04 22:30:58 -0500260#if defined(CONFIG_CMD_KGDB)
Paul Gortmaker91e25762007-01-16 11:38:14 -0500261#define CONFIG_KGDB_BAUDRATE 230400 /* speed of kgdb serial port */
Paul Gortmaker91e25762007-01-16 11:38:14 -0500262#endif
263
264/*
265 * Environment Configuration
266 */
267#define CONFIG_ENV_OVERWRITE
268
269#if defined(CONFIG_TSEC_ENET)
Andy Fleming10327dc2007-08-16 16:35:02 -0500270#define CONFIG_HAS_ETH0
Paul Gortmaker91e25762007-01-16 11:38:14 -0500271#define CONFIG_HAS_ETH1
Paul Gortmaker91e25762007-01-16 11:38:14 -0500272#endif
273
Mario Six5bc05432018-03-28 14:38:20 +0200274#define CONFIG_HOSTNAME "SBC8349"
Joe Hershberger8b3637c2011-10-13 13:03:47 +0000275#define CONFIG_ROOTPATH "/tftpboot/rootfs"
Joe Hershbergerb3f44c22011-10-13 13:03:48 +0000276#define CONFIG_BOOTFILE "uImage"
Paul Gortmaker91e25762007-01-16 11:38:14 -0500277
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500278 /* default location for tftp and bootm */
279#define CONFIG_LOADADDR 800000
Paul Gortmaker91e25762007-01-16 11:38:14 -0500280
Paul Gortmaker91e25762007-01-16 11:38:14 -0500281#define CONFIG_EXTRA_ENV_SETTINGS \
282 "netdev=eth0\0" \
Detlev Zundela99715b2008-04-18 14:50:01 +0200283 "hostname=sbc8349\0" \
Paul Gortmaker91e25762007-01-16 11:38:14 -0500284 "nfsargs=setenv bootargs root=/dev/nfs rw " \
285 "nfsroot=${serverip}:${rootpath}\0" \
286 "ramargs=setenv bootargs root=/dev/ram rw\0" \
287 "addip=setenv bootargs ${bootargs} " \
288 "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}" \
289 ":${hostname}:${netdev}:off panic=1\0" \
290 "addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0"\
291 "flash_nfs=run nfsargs addip addtty;" \
292 "bootm ${kernel_addr}\0" \
293 "flash_self=run ramargs addip addtty;" \
294 "bootm ${kernel_addr} ${ramdisk_addr}\0" \
295 "net_nfs=tftp 200000 ${bootfile};run nfsargs addip addtty;" \
296 "bootm\0" \
297 "load=tftp 100000 /tftpboot/sbc8349/u-boot.bin\0" \
Paul Gortmakerfe613cd2009-07-23 17:10:55 -0400298 "update=protect off ff800000 ff83ffff; " \
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500299 "era ff800000 ff83ffff; cp.b 100000 ff800000 ${filesize}\0" \
Detlev Zundeld8ab58b2008-03-06 16:45:53 +0100300 "upd=run load update\0" \
Kim Phillips79f516b2009-08-21 16:34:38 -0500301 "fdtaddr=780000\0" \
Detlev Zundela99715b2008-04-18 14:50:01 +0200302 "fdtfile=sbc8349.dtb\0" \
Paul Gortmaker91e25762007-01-16 11:38:14 -0500303 ""
304
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500305#define CONFIG_NFSBOOTCOMMAND \
306 "setenv bootargs root=/dev/nfs rw " \
307 "nfsroot=$serverip:$rootpath " \
308 "ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:" \
309 "$netdev:off " \
310 "console=$consoledev,$baudrate $othbootargs;" \
311 "tftp $loadaddr $bootfile;" \
312 "tftp $fdtaddr $fdtfile;" \
313 "bootm $loadaddr - $fdtaddr"
Paul Gortmaker91e25762007-01-16 11:38:14 -0500314
315#define CONFIG_RAMBOOTCOMMAND \
Joe Hershberger60e1dc12011-10-11 23:57:25 -0500316 "setenv bootargs root=/dev/ram rw " \
317 "console=$consoledev,$baudrate $othbootargs;" \
318 "tftp $ramdiskaddr $ramdiskfile;" \
319 "tftp $loadaddr $bootfile;" \
320 "tftp $fdtaddr $fdtfile;" \
321 "bootm $loadaddr $ramdiskaddr $fdtaddr"
Paul Gortmaker91e25762007-01-16 11:38:14 -0500322
323#define CONFIG_BOOTCOMMAND "run flash_self"
324
325#endif /* __CONFIG_H */