[U-Boot] [PATCH 1/5] davinci: omapl138_lcdk: remove spiboot

Lukasz Majewski lukma at denx.de
Thu Apr 6 09:57:27 UTC 2017


On Thu, 6 Apr 2017 14:52:53 +0530
Sekhar Nori <nsekhar at ti.com> wrote:

> OMAP-L138 LCDK board does not have a SPI flash.
> Remove spiboot related environment variable
> definitions.
> 
> Signed-off-by: Sekhar Nori <nsekhar at ti.com>
> ---
>  include/configs/omapl138_lcdk.h | 10 ++--------
>  1 file changed, 2 insertions(+), 8 deletions(-)
> 
> diff --git a/include/configs/omapl138_lcdk.h
> b/include/configs/omapl138_lcdk.h index 6700073aa203..f6aca0482527
> 100644 --- a/include/configs/omapl138_lcdk.h
> +++ b/include/configs/omapl138_lcdk.h
> @@ -264,9 +264,7 @@
>  #define CONFIG_BOOTARGS		"console=ttyS2,115200n8
> root=/dev/mmcblk0p2 rw rootwait ip=off" #define CONFIG_BOOTCOMMAND \
>  	"if mmc rescan; then " \
> -		"run mmcboot; " \
> -	"else " \
> -		"run spiboot; " \
> +		"run mmcboot; "
>  	"fi"
>  #define CONFIG_EXTRA_ENV_SETTINGS \
>  	"fdtaddr=0xc0600000\0" \
> @@ -280,11 +278,7 @@
>  				__stringify(CONFIG_BOOTFILE) "; " \
>  			"fatload mmc 0 ${fdtaddr} ${fdtfile}; " \
>  			"run fdtboot; " \
> -		"fi;\0" \
> -	"spiboot=" \
> -		"sf probe 0; " \
> -		"sf read 0xc0700000 0x80000 0x220000; " \
> -		"bootz 0xc0700000;\0"
> +		"fi;\0"
>  
>  /*
>   * U-Boot commands

Reviewed-by: Lukasz Majewski <lukma at denx.de>


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de


More information about the U-Boot mailing list