diff options
author | York Sun <york.sun@nxp.com> | 2016-11-23 09:08:47 -0800 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-11-23 10:39:41 -0800 |
commit | f9dd8553f31817353f2a04385a1a0909df9670e4 (patch) | |
tree | da0272219a8a03d6358f1e3c26d7a4bc45659eb8 | |
parent | 3db86f4bbd7a723421c8c9bf9bd09d58e17e9736 (diff) | |
download | u-boot-imx-f9dd8553f31817353f2a04385a1a0909df9670e4.zip u-boot-imx-f9dd8553f31817353f2a04385a1a0909df9670e4.tar.gz u-boot-imx-f9dd8553f31817353f2a04385a1a0909df9670e4.tar.bz2 |
armv7: ls1021aiot: Fixing SPL compiling issues
To align with SPL change 38fed8ab and 693d4c9f, add Kconfig option
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to defconfig, and remove
CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS.
Signed-off-by: York Sun <york.sun@nxp.com>
CC: Feng Li <feng.li_2@nxp.com>
-rw-r--r-- | configs/ls1021aiot_sdcard_defconfig | 2 | ||||
-rw-r--r-- | include/configs/ls1021aiot.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/configs/ls1021aiot_sdcard_defconfig b/configs/ls1021aiot_sdcard_defconfig index 4b082ab..a5a391d 100644 --- a/configs/ls1021aiot_sdcard_defconfig +++ b/configs/ls1021aiot_sdcard_defconfig @@ -1,6 +1,8 @@ CONFIG_ARM=y CONFIG_TARGET_LS1021AIOT=y CONFIG_SPL=y +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y +CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0xe8 CONFIG_DEFAULT_DEVICE_TREE="ls1021a-iot-duart" CONFIG_DM_SPI=y CONFIG_SYS_EXTRA_OPTIONS="RAMBOOT_PBL,SPL_FSL_PBL,SD_BOOT,SD_BOOT_QSPI" diff --git a/include/configs/ls1021aiot.h b/include/configs/ls1021aiot.h index 182a003..7af4bc4 100644 --- a/include/configs/ls1021aiot.h +++ b/include/configs/ls1021aiot.h @@ -96,7 +96,6 @@ #define CONFIG_SPL_SERIAL_SUPPORT #define CONFIG_SPL_MMC_SUPPORT #define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0xe8 -#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS 0x400 #define CONFIG_SPL_TEXT_BASE 0x10000000 #define CONFIG_SPL_MAX_SIZE 0x1a000 |