diff mbox series

[1/5] davinci: omapl138_lcdk: remove spiboot

Message ID 20170406092257.15541-2-nsekhar@ti.com
State Accepted
Commit 4c8865a239a31725f83f63e4571b14dcbc64c3ae
Headers show
Series davinci: omapl138_lcdk: align mmcboot with rest of TI boards | expand

Commit Message

Sekhar Nori April 6, 2017, 9:22 a.m. UTC
OMAP-L138 LCDK board does not have a SPI flash.
Remove spiboot related environment variable
definitions.

Signed-off-by: Sekhar Nori <nsekhar@ti.com>
---
 include/configs/omapl138_lcdk.h | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

Comments

Lukasz Majewski April 6, 2017, 9:57 a.m. UTC | #1
On Thu, 6 Apr 2017 14:52:53 +0530
Sekhar Nori <nsekhar@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@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@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@denx.de
Tom Rini April 6, 2017, 4:23 p.m. UTC | #2
On Thu, Apr 06, 2017 at 02:52:53PM +0530, Sekhar Nori wrote:

> OMAP-L138 LCDK board does not have a SPI flash.

> Remove spiboot related environment variable

> definitions.

> 

> Signed-off-by: Sekhar Nori <nsekhar@ti.com>


Reviewed-by: Tom Rini <trini@konsulko.com>


-- 
Tom
Tom Rini April 10, 2017, 6:24 p.m. UTC | #3
On Thu, Apr 06, 2017 at 02:52:53PM +0530, Sekhar Nori wrote:

> OMAP-L138 LCDK board does not have a SPI flash.

> Remove spiboot related environment variable

> definitions.

> 

> Signed-off-by: Sekhar Nori <nsekhar@ti.com>

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

> Reviewed-by: Tom Rini <trini@konsulko.com>


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox series

Patch

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