summaryrefslogtreecommitdiff
path: root/include/configs/MPC8540ADS.h
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2006-09-13 10:33:35 -0500
committerJon Loeliger <jdl@freescale.com>2006-09-19 09:42:18 -0500
commit8272dc2f58f2473d8995fcc9b916440cfba080f0 (patch)
tree75cb06eaff28f44184224ae9490a70138362cccb /include/configs/MPC8540ADS.h
parent09f3e09e9ebcfa7919ca8931a4b5504fadd1f1d3 (diff)
downloadu-boot-imx-8272dc2f58f2473d8995fcc9b916440cfba080f0.zip
u-boot-imx-8272dc2f58f2473d8995fcc9b916440cfba080f0.tar.gz
u-boot-imx-8272dc2f58f2473d8995fcc9b916440cfba080f0.tar.bz2
Updated config headers to add default FDT-based booting
Diffstat (limited to 'include/configs/MPC8540ADS.h')
-rw-r--r--include/configs/MPC8540ADS.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h
index 8e4d2c9..31ffbaf 100644
--- a/include/configs/MPC8540ADS.h
+++ b/include/configs/MPC8540ADS.h
@@ -517,8 +517,10 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
"consoledev=ttyS0\0" \
- "ramdiskaddr=400000\0" \
- "ramdiskfile=your.ramdisk.u-boot\0"
+ "ramdiskaddr=600000\0" \
+ "ramdiskfile=your.ramdisk.u-boot\0" \
+ "fdtaddr=400000\0" \
+ "fdtfile=your.fdt.dtb\0"
#define CONFIG_NFSBOOTCOMMAND \
"setenv bootargs root=/dev/nfs rw " \
@@ -526,13 +528,15 @@
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
"console=$consoledev,$baudrate $othbootargs;" \
"tftp $loadaddr $bootfile;" \
- "bootm $loadaddr"
+ "tftp $fdtaddr $fdtfile;" \
+ "bootm $loadaddr - $fdtaddr"
#define CONFIG_RAMBOOTCOMMAND \
"setenv bootargs root=/dev/ram rw " \
"console=$consoledev,$baudrate $othbootargs;" \
"tftp $ramdiskaddr $ramdiskfile;" \
"tftp $loadaddr $bootfile;" \
+ "tftp $fdtaddr $fdtfile;" \
"bootm $loadaddr $ramdiskaddr"
#define CONFIG_BOOTCOMMAND CONFIG_NFSBOOTCOMMAND