summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2007-05-10 17:50:01 -0500
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2007-07-11 18:19:07 -0500
commitd3ec0d943a045bdb99e159e7bbc77430e09f11d7 (patch)
tree9fd09254f18300f5a413e8bde884646bd3fcc474
parentbfb37b32d1b0b03f18077dba49cc66a6e76fa038 (diff)
downloadu-boot-imx-d3ec0d943a045bdb99e159e7bbc77430e09f11d7.zip
u-boot-imx-d3ec0d943a045bdb99e159e7bbc77430e09f11d7.tar.gz
u-boot-imx-d3ec0d943a045bdb99e159e7bbc77430e09f11d7.tar.bz2
Polished the 85xx ADS config files
Made the boot commands use device trees by default. Also moved the ramdisk to 1000000 (I think the previous address was getting overridden during boot). Signed-off-by: Andy Fleming <afleming@freescale.com>
-rw-r--r--include/configs/MPC8540ADS.h4
-rw-r--r--include/configs/MPC8560ADS.h7
2 files changed, 6 insertions, 5 deletions
diff --git a/include/configs/MPC8540ADS.h b/include/configs/MPC8540ADS.h
index 9176be3..f5e7f77 100644
--- a/include/configs/MPC8540ADS.h
+++ b/include/configs/MPC8540ADS.h
@@ -520,7 +520,7 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
"consoledev=ttyS0\0" \
- "ramdiskaddr=600000\0" \
+ "ramdiskaddr=1000000\0" \
"ramdiskfile=your.ramdisk.u-boot\0" \
"fdtaddr=400000\0" \
"fdtfile=your.fdt.dtb\0"
@@ -540,7 +540,7 @@
"tftp $ramdiskaddr $ramdiskfile;" \
"tftp $loadaddr $bootfile;" \
"tftp $fdtaddr $fdtfile;" \
- "bootm $loadaddr $ramdiskaddr"
+ "bootm $loadaddr $ramdiskaddr $fdtaddr"
#define CONFIG_BOOTCOMMAND CONFIG_NFSBOOTCOMMAND
diff --git a/include/configs/MPC8560ADS.h b/include/configs/MPC8560ADS.h
index 90fef8b..3d41371 100644
--- a/include/configs/MPC8560ADS.h
+++ b/include/configs/MPC8560ADS.h
@@ -559,8 +559,8 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
- "consoledev=ttyS0\0" \
- "ramdiskaddr=600000\0" \
+ "consoledev=ttyCPM\0" \
+ "ramdiskaddr=1000000\0" \
"ramdiskfile=your.ramdisk.u-boot\0" \
"fdtaddr=400000\0" \
"fdtfile=mpc8560ads.dtb\0"
@@ -579,7 +579,8 @@
"console=$consoledev,$baudrate $othbootargs;" \
"tftp $ramdiskaddr $ramdiskfile;" \
"tftp $loadaddr $bootfile;" \
- "bootm $loadaddr $ramdiskaddr"
+ "tftp $fdtaddr $fdtfile;" \
+ "bootm $loadaddr $ramdiskaddr $fdtaddr"
#define CONFIG_BOOTCOMMAND CONFIG_NFSBOOTCOMMAND