From 4c8865a239a31725f83f63e4571b14dcbc64c3ae Mon Sep 17 00:00:00 2001 From: Sekhar Nori Date: Thu, 6 Apr 2017 14:52:53 +0530 Subject: [PATCH] davinci: omapl138_lcdk: remove spiboot OMAP-L138 LCDK board does not have a SPI flash. Remove spiboot related environment variable definitions. Signed-off-by: Sekhar Nori Reviewed-by: Lukasz Majewski Reviewed-by: Tom Rini --- 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 85e95b3177..eab80e3063 100644 --- a/include/configs/omapl138_lcdk.h +++ b/include/configs/omapl138_lcdk.h @@ -263,9 +263,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" \ @@ -279,11 +277,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 -- 2.39.5