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

login
register
mail settings
Submitter Andreas Bießmann
Date Sept. 6, 2013, 1:04 p.m.
Message ID <1378472698-18557-12-git-send-email-andreas.devel@googlemail.com>
Download mbox | patch
Permalink /patch/273187/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Andreas Bießmann - Sept. 6, 2013, 1:04 p.m.
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(-)

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 " \