am335x_evm: Update nandboot to use partitions and DT
authorTom Rini <trini@ti.com>
Mon, 18 Nov 2013 15:36:23 +0000 (10:36 -0500)
committerTom Rini <trini@ti.com>
Wed, 4 Dec 2013 16:41:13 +0000 (11:41 -0500)
Signed-off-by: Tom Rini <trini@ti.com>
include/configs/am335x_evm.h

index 9015927..e8a6ca1 100644 (file)
        "dfu_alt_info_nand=" DFU_ALT_INFO_NAND "\0" \
        "nandroot=ubi0:rootfs rw ubi.mtd=7,2048\0" \
        "nandrootfstype=ubifs rootwait=1\0" \
-       "nandsrcaddr=0x280000\0" \
-               "nandboot=echo Booting from nand ...; " \
+       "nandboot=echo Booting from nand ...; " \
                "run nandargs; " \
-               "nand read ${loadaddr} ${nandsrcaddr} ${nandimgsize}; " \
-               "bootz ${loadaddr}\0" \
-       "nandimgsize=0x500000\0"
+               "nand read ${fdtaddr} u-boot-spl-os; " \
+               "nand read ${loadaddr} kernel; " \
+               "bootz ${loadaddr} - ${fdtaddr}\0"
 #else
 #define NANDARGS ""
 #endif