diff mbox

[U-Boot] am335x_evm: Update nandboot to use partitions and DT

Message ID 1384788983-21733-1-git-send-email-trini@ti.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini Nov. 18, 2013, 3:36 p.m. UTC
Signed-off-by: Tom Rini <trini@ti.com>
---
 include/configs/am335x_evm.h |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

Comments

Tom Rini Dec. 4, 2013, 10:04 p.m. UTC | #1
On Mon, Nov 18, 2013 at 10:36:23AM -0500, Tom Rini wrote:

> Signed-off-by: Tom Rini <trini@ti.com>
> 
> ---
> include/configs/am335x_evm.h |    9 ++++-----
>  1 file changed, 4 insertions(+), 5 deletions(-)

Applied to u-boot-ti/master, thanks!
diff mbox

Patch

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index f35ed6f..a1a5096 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -42,12 +42,11 @@ 
 	"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