davinci: omapl138_lcdk: remove spiboot
authorSekhar Nori <nsekhar@ti.com>
Thu, 6 Apr 2017 09:22:53 +0000 (14:52 +0530)
committerTom Rini <trini@konsulko.com>
Sun, 9 Apr 2017 01:32:49 +0000 (21:32 -0400)
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>
include/configs/omapl138_lcdk.h

index 85e95b31779cb1ec4b8ad1637bd690952a756071..eab80e3063872f76c90e3cd77213a26f046f8320 100644 (file)
 #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" \
                                __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