]> git.sur5r.net Git - u-boot/commitdiff
imx: mx6slevk: use SPI_BOOT
authorPeng Fan <peng.fan@nxp.com>
Sat, 4 Mar 2017 02:45:42 +0000 (10:45 +0800)
committerStefano Babic <sbabic@denx.de>
Mon, 20 Mar 2017 18:00:35 +0000 (19:00 +0100)
Use SPI_BOOT instead of SYS_BOOT_SPINOR.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
configs/mx6slevk_spinor_defconfig
include/configs/mx6slevk.h

index 7c0a3a801af1fd7cb71c22e263d789c99a3fa1d7..e1c9118afd069ccc8572c90d5e946a1ee9ccc300 100644 (file)
@@ -1,7 +1,8 @@
 CONFIG_ARM=y
 CONFIG_ARCH_MX6=y
 CONFIG_TARGET_MX6SLEVK=y
-CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6slevk/imximage.cfg,MX6SL,SYS_BOOT_SPINOR"
+CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6slevk/imximage.cfg,MX6SL"
+CONFIG_SPI_BOOT=y
 CONFIG_BOOTDELAY=3
 CONFIG_BOARD_EARLY_INIT_F=y
 CONFIG_HUSH_PARSER=y
index 3e7e5a39970d7f0cfd716b4779f4e3ff487d8bb3..19dcc5cfb79177329061773870f97866def3ad43 100644 (file)
 /* Environment organization */
 #define CONFIG_ENV_SIZE                        SZ_8K
 
-#if defined CONFIG_SYS_BOOT_SPINOR
+#if defined CONFIG_SPI_BOOT
 #define CONFIG_ENV_IS_IN_SPI_FLASH
 #define CONFIG_ENV_OFFSET               (768 * 1024)
 #define CONFIG_ENV_SECT_SIZE            (64 * 1024)