diff mbox

[U-Boot,12/13] tricorder: read kernel directly from NAND

Message ID 1378472698-18557-12-git-send-email-andreas.devel@googlemail.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Andreas Bießmann Sept. 6, 2013, 1:04 p.m. UTC
From: Andreas Bießmann <andreas.biessmann@corscience.de>

Signed-off-by: Andreas Bießmann <andreas.biessmann@corscience.de>
---
 include/configs/tricorder.h |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/include/configs/tricorder.h b/include/configs/tricorder.h
index e2bbebb..7eff448 100644
--- a/include/configs/tricorder.h
+++ b/include/configs/tricorder.h
@@ -260,9 +260,10 @@ 
 	"loaduimage_ubi=ubi part ubi; " \
 		"ubifsmount ubi:root; " \
 		"ubifsload ${loadaddr} /boot/uImage\0" \
+	"loaduimage_nand=nand read ${loadaddr} kernel 0x500000\0" \
 	"nandboot=echo Booting from nand ...; " \
 		"run nandargs; " \
-		"run loaduimage_ubi; " \
+		"run loaduimage_nand; " \
 		"bootm ${loadaddr}\0" \
 	"autoboot=mmc dev ${mmcdev}; if mmc rescan; then " \
 			"if run loadbootscript; then " \