Commit aefb7255eceecb5b2914b179ada25f469f3ad600
1 parent
bcec95bdb4
Exists in
master
and in
50 other branches
am335x_evm: Update nandboot to use partitions and DT
Signed-off-by: Tom Rini <trini@ti.com>
Showing 1 changed file with 4 additions and 5 deletions Side-by-side Diff
include/configs/am335x_evm.h
... | ... | @@ -42,12 +42,11 @@ |
42 | 42 | "dfu_alt_info_nand=" DFU_ALT_INFO_NAND "\0" \ |
43 | 43 | "nandroot=ubi0:rootfs rw ubi.mtd=7,2048\0" \ |
44 | 44 | "nandrootfstype=ubifs rootwait=1\0" \ |
45 | - "nandsrcaddr=0x280000\0" \ | |
46 | - "nandboot=echo Booting from nand ...; " \ | |
45 | + "nandboot=echo Booting from nand ...; " \ | |
47 | 46 | "run nandargs; " \ |
48 | - "nand read ${loadaddr} ${nandsrcaddr} ${nandimgsize}; " \ | |
49 | - "bootz ${loadaddr}\0" \ | |
50 | - "nandimgsize=0x500000\0" | |
47 | + "nand read ${fdtaddr} u-boot-spl-os; " \ | |
48 | + "nand read ${loadaddr} kernel; " \ | |
49 | + "bootz ${loadaddr} - ${fdtaddr}\0" | |
51 | 50 | #else |
52 | 51 | #define NANDARGS "" |
53 | 52 | #endif |