From: Tom Rini <trini@ti.com>
Date: Mon, 18 Nov 2013 15:36:23 +0000 (-0500)
Subject: am335x_evm: Update nandboot to use partitions and DT
X-Git-Tag: v2025.01-rc5-pxa1908~15565^2~13^2~9
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-favicon.png?a=commitdiff_plain;h=aefb7255eceecb5b2914b179ada25f469f3ad600;p=u-boot.git

am335x_evm: Update nandboot to use partitions and DT

Signed-off-by: Tom Rini <trini@ti.com>
---

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index 90159278fc..e8a6ca15bb 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