diff mbox

[U-Boot] OMAP4: Use generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage'.

Message ID 1409923966-25258-1-git-send-email-guillaume.gardet@free.fr
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Guillaume GARDET Sept. 5, 2014, 1:32 p.m. UTC
This patch uses generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage' for OMAP4 boards.

This allows to use EXT partition instead of FAT, while keeping FAT compatibility.

Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>                                                                                                                                                 
Cc: Tom Rini <trini@ti.com>

---
 include/configs/ti_omap4_common.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Guillaume GARDET Sept. 17, 2014, 8:11 a.m. UTC | #1
Ping.

Le 05/09/2014 15:32, Guillaume GARDET a écrit :
> This patch uses generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage' for OMAP4 boards.
>
> This allows to use EXT partition instead of FAT, while keeping FAT compatibility.
>
> Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>
> Cc: Tom Rini <trini@ti.com>
>
> ---
>   include/configs/ti_omap4_common.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
> index 8c7310c..b0f199e 100644
> --- a/include/configs/ti_omap4_common.h
> +++ b/include/configs/ti_omap4_common.h
> @@ -101,10 +101,10 @@
>   		"vram=${vram} " \
>   		"root=${mmcroot} " \
>   		"rootfstype=${mmcrootfstype}\0" \
> -	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
> +	"loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
>   	"bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
>   		"source ${loadaddr}\0" \
> -	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
> +	"loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
>   	"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
>   		"env import -t ${loadaddr} ${filesize}\0" \
>   	"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \
Tom Rini Sept. 17, 2014, 5:42 p.m. UTC | #2
On Wed, Sep 17, 2014 at 10:11:03AM +0200, Guillaume Gardet wrote:

> Ping.

Sorry, tracking down the boot regression sidetracked me from doing a
u-boot-ti pull request after getting things into master, I'll be picking
this (and your other patch, and a bunch of others) soon.
Tom Rini Sept. 18, 2014, 12:34 p.m. UTC | #3
On Fri, Sep 05, 2014 at 03:32:46PM +0200, Guillaume GARDET wrote:

> This patch uses generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage' for OMAP4 boards.
> 
> This allows to use EXT partition instead of FAT, while keeping FAT compatibility.
> 
> Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr>                                                                                                                                                 
> Cc: Tom Rini <trini@ti.com>

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

Patch

diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h
index 8c7310c..b0f199e 100644
--- a/include/configs/ti_omap4_common.h
+++ b/include/configs/ti_omap4_common.h
@@ -101,10 +101,10 @@ 
 		"vram=${vram} " \
 		"root=${mmcroot} " \
 		"rootfstype=${mmcrootfstype}\0" \
-	"loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
+	"loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr\0" \
 	"bootscript=echo Running bootscript from mmc${mmcdev} ...; " \
 		"source ${loadaddr}\0" \
-	"loadbootenv=fatload mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
+	"loadbootenv=load mmc ${mmcdev} ${loadaddr} uEnv.txt\0" \
 	"importbootenv=echo Importing environment from mmc${mmcdev} ...; " \
 		"env import -t ${loadaddr} ${filesize}\0" \
 	"loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}\0" \