diff options
author | Peng Fan <peng.fan@nxp.com> | 2017-03-04 02:45:42 (GMT) |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-03-20 18:00:35 (GMT) |
commit | 6b2781f67970728354174c021c740626a2d620e8 (patch) | |
tree | 6a4692a2c75bb0e461563b1c3dfa4db538c145ed | |
parent | d5abcf94c7123167725fc22ace342f0d455093c1 (diff) | |
download | u-boot-6b2781f67970728354174c021c740626a2d620e8.tar.xz |
imx: mx6slevk: use SPI_BOOT
Use SPI_BOOT instead of SYS_BOOT_SPINOR.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
-rw-r--r-- | configs/mx6slevk_spinor_defconfig | 3 | ||||
-rw-r--r-- | include/configs/mx6slevk.h | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/configs/mx6slevk_spinor_defconfig b/configs/mx6slevk_spinor_defconfig index 7c0a3a8..e1c9118 100644 --- a/configs/mx6slevk_spinor_defconfig +++ b/configs/mx6slevk_spinor_defconfig @@ -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 diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h index 3e7e5a3..19dcc5c 100644 --- a/include/configs/mx6slevk.h +++ b/include/configs/mx6slevk.h @@ -145,7 +145,7 @@ /* 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) |