]> git.sur5r.net Git - u-boot/commitdiff
armv7: ls1021aiot: Fixing SPL compiling issues
authorYork Sun <york.sun@nxp.com>
Wed, 23 Nov 2016 17:08:47 +0000 (09:08 -0800)
committerYork Sun <york.sun@nxp.com>
Wed, 23 Nov 2016 18:39:41 +0000 (10:39 -0800)
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>
configs/ls1021aiot_sdcard_defconfig
include/configs/ls1021aiot.h

index 4b082ab0f965f15cc6e423b086751de1924797c1..a5a391dd816cf19d634dc331e7bed4ffe4463f3f 100644 (file)
@@ -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"
index 182a003603168257eba8147cee716a63727a6e9d..7af4bc41dcd5dd6a088c9fb383b4d0f6eb94aaa0 100644 (file)
@@ -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