Patchwork [U-Boot] am335x_evm.h: Add back the actual load of the kernel image

login
register
mail settings
Submitter Robert P. J. Day
Date Sept. 4, 2013, 12:41 p.m.
Message ID <alpine.DEB.2.02.1309040839180.2455@oneiric>
Download mbox | patch
Permalink /patch/272593/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Robert P. J. Day - Sept. 4, 2013, 12:41 p.m.
Somewhere along the line of refactoring the am335x header files, the
kernel image load was lost, so put it back in.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---
Tom Rini - Sept. 9, 2013, 2:58 p.m.
On Wed, Sep 04, 2013 at 08:41:44AM -0400, Robert P. J. Day wrote:

> Somewhere along the line of refactoring the am335x header files, the
> kernel image load was lost, so put it back in.
> 
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

Applied to u-boot/master, thanks!

Patch

diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index e0a87f8..7969e07 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -132,7 +132,9 @@ 
 				"echo Running uenvcmd ...;" \
 				"run uenvcmd;" \
 			"fi;" \
-			"run mmcloados;" \
+			"if run loaduimage; then " \
+				"run mmcloados;" \
+			"fi;" \
 		"fi;\0" \
 	"spiboot=echo Booting from spi ...; " \
 		"run spiargs; " \