summaryrefslogtreecommitdiff
path: root/include/configs/MPC8641HPCN.h
diff options
context:
space:
mode:
authorZhang Wei <wei.zhang@freescale.com>2006-08-23 17:54:32 +0800
committerJon Loeliger <jdl@freescale.com>2006-08-23 10:32:08 -0500
commitd8ea2acf5f137cae99417df4f573d036ee384668 (patch)
treedfbd031e19fa51b59f111bec88306e1a3b951f99 /include/configs/MPC8641HPCN.h
parentb93775c2036b99baa390ea425c4771895bbc63c4 (diff)
downloadu-boot-imx-d8ea2acf5f137cae99417df4f573d036ee384668.zip
u-boot-imx-d8ea2acf5f137cae99417df4f573d036ee384668.tar.gz
u-boot-imx-d8ea2acf5f137cae99417df4f573d036ee384668.tar.bz2
Add dtb boot-up parameter to default boot commands.
Signed-off-by: Zhang Wei <wei.zhang@freescale.com>
Diffstat (limited to 'include/configs/MPC8641HPCN.h')
-rw-r--r--include/configs/MPC8641HPCN.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 200a38f..1f5e2df 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -595,6 +595,8 @@
"consoledev=ttyS0\0" \
"ramdiskaddr=400000\0" \
"ramdiskfile=your.ramdisk.u-boot\0" \
+ "dtbaddr=2000000\0" \
+ "dtbfile=mpc8641_hpcn.dtb\0" \
"pex0=echo ---------------------------; echo --------- PCI EXPRESS -----\0"\
"pexstat=mw f8008000 84000004; echo -expect:- 16000000; md f8008004 1\0" \
"pex1=pci write 1.0.0 4 146; pci write 1.0.0 10 80000000\0" \
@@ -611,14 +613,16 @@
"ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
"console=$consoledev,$baudrate $othbootargs;" \
"tftp $loadaddr $bootfile;" \
- "bootm $loadaddr"
+ "tftp $dtbaddr $dtbfile;" \
+ "bootm $loadaddr - $dtbaddr"
#define CONFIG_RAMBOOTCOMMAND \
"setenv bootargs root=/dev/ram rw " \
"console=$consoledev,$baudrate $othbootargs;" \
"tftp $ramdiskaddr $ramdiskfile;" \
"tftp $loadaddr $bootfile;" \
- "bootm $loadaddr $ramdiskaddr"
+ "tftp $dtbaddr $dtbfile;" \
+ "bootm $loadaddr $ramdiskaddr $dtbaddr"
#define CONFIG_BOOTCOMMAND CONFIG_NFSBOOTCOMMAND