diff options
author | Roger Quadros <rogerq@ti.com> | 2015-06-05 12:42:21 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-06-15 10:57:26 -0400 |
commit | cda6017629bb82f7a3b9a4718764e2217c3df4d8 (patch) | |
tree | 8598c3a389afd75d9fae1ea3662e55241cea7b74 /include/configs/am335x_evm.h | |
parent | 9ddef489c4c11dc54dc4896f75a877c8944dedad (diff) | |
download | u-boot-imx-cda6017629bb82f7a3b9a4718764e2217c3df4d8.zip u-boot-imx-cda6017629bb82f7a3b9a4718764e2217c3df4d8.tar.gz u-boot-imx-cda6017629bb82f7a3b9a4718764e2217c3df4d8.tar.bz2 |
am335x_evm: nand: Fix boot from NAND
Use the correct partition names from with the Device Tree blob
and the kernel is picked up. Also use partition name instead of
number for the root filesystem in the kernel boot arguments.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/am335x_evm.h')
-rw-r--r-- | include/configs/am335x_evm.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 1c6cbd7..a5f1f06 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -54,12 +54,12 @@ "${optargs} " \ "root=${nandroot} " \ "rootfstype=${nandrootfstype}\0" \ - "nandroot=ubi0:rootfs rw ubi.mtd=9,2048\0" \ + "nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048\0" \ "nandrootfstype=ubifs rootwait=1\0" \ "nandboot=echo Booting from nand ...; " \ "run nandargs; " \ - "nand read ${fdtaddr} u-boot-spl-os; " \ - "nand read ${loadaddr} kernel; " \ + "nand read ${fdtaddr} NAND.u-boot-spl-os; " \ + "nand read ${loadaddr} NAND.kernel; " \ "bootz ${loadaddr} - ${fdtaddr}\0" #else #define NANDARGS "" |