diff mbox

[U-Boot,4/4] arm: am57xx: cl-som-am57x: adjust default env to the installation system

Message ID 1495031368-29005-5-git-send-email-uri.mashiach@compulab.co.il
State Accepted
Commit dbf0518b608b1395bf81bad0b89e314c17ba339c
Delegated to: Tom Rini
Headers show

Commit Message

Uri Mashiach May 17, 2017, 2:29 p.m. UTC
The SD card automatic installation system depends on the default
environment of the previous U-Boot.

Add the missing environment variables.

Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
---
 include/configs/cl-som-am57x.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Tom Rini May 17, 2017, 10 p.m. UTC | #1
On Wed, May 17, 2017 at 05:29:28PM +0300, Uri Mashiach wrote:

> The SD card automatic installation system depends on the default
> environment of the previous U-Boot.
> 
> Add the missing environment variables.
> 
> Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>

Reviewed-by: Tom Rini <trini@konsulko.com>
Tom Rini June 6, 2017, 12:20 a.m. UTC | #2
On Wed, May 17, 2017 at 05:29:28PM +0300, Uri Mashiach wrote:

> The SD card automatic installation system depends on the default
> environment of the previous U-Boot.
> 
> Add the missing environment variables.
> 
> Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
> Reviewed-by: Tom Rini <trini@konsulko.com>

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

Patch

diff --git a/include/configs/cl-som-am57x.h b/include/configs/cl-som-am57x.h
index 8e69306..581468c 100644
--- a/include/configs/cl-som-am57x.h
+++ b/include/configs/cl-som-am57x.h
@@ -130,8 +130,10 @@ 
 	"bootkernel=bootz ${loadaddr} - ${fdtaddr}\0" \
 	"mmcloadfdt=load mmc ${mmcdev} ${fdtaddr} ${fdtfile}\0" \
 	"mmcloadkernel=load mmc ${mmcdev} ${loadaddr} ${kernel}\0" \
+	"emmcloadfdt=load mmc ${mmcdev} ${fdtaddr} ${fdtfile}\0" \
+	"emmcloadkernel=load mmc ${mmcdev} ${loadaddr} ${kernel}\0" \
 	"load_mmc=mmc dev ${mmcdev} && mmc rescan && " \
-		"run mmcloadkernel run mmcloadfdt\0" \
+		"run mmcloadkernel && run mmcloadfdt\0" \
 	"mmcroot=/dev/mmcblk1p2\0" \
 	"mmcrootfstype=ext4 rw rootwait\0" \
 	"mmcargs=setenv bootargs console=${console} root=${mmcroot} " \
@@ -167,7 +169,7 @@ 
 		"source ${loadaddr}\0" \
 	"sataboot=run load_sata && run sataargs && " \
 		"echo Booting from SATA ... && " \
-		"run bootkernel\0" \
+		"run bootkernel\0"
 
 #undef CONFIG_BOOTCOMMAND
 #define CONFIG_BOOTCOMMAND \