diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-07-13 15:22:50 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-07-14 15:16:01 +0200 |
commit | 651782a08b5bb4e710bda1b11fff774b8ade384f (patch) | |
tree | e87567decc6399a2bc688b185d326dfe6a83aae3 | |
parent | 3f0a1042bb4eae00eae1e9bb9aa4dca4f3b987f8 (diff) | |
download | u-boot-651782a08b5bb4e710bda1b11fff774b8ade384f.zip u-boot-651782a08b5bb4e710bda1b11fff774b8ade384f.tar.gz u-boot-651782a08b5bb4e710bda1b11fff774b8ade384f.tar.bz2 |
mx6cuboxi: Move CONFIG_CMD_SATA to Kconfig
Move CONFIG_CMD_SATA option to Kconfig to fix the following build
error:
In file included from include/configs/mx6cuboxi.h:137:0,
from include/config.h:7,
from include/common.h:21,
from common/env_common.c:11:
include/config_distro_bootcmd.h:161:2: error: expected '}' before 'BOOT_TARGET_DEVICES_references_SATA_without_CONFIG_SATA'
BOOT_TARGET_DEVICES_references_SATA_without_CONFIG_SATA
Reported-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
-rw-r--r-- | configs/mx6cuboxi_defconfig | 1 | ||||
-rw-r--r-- | include/configs/mx6cuboxi.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/configs/mx6cuboxi_defconfig b/configs/mx6cuboxi_defconfig index c35ea92..dd974b2 100644 --- a/configs/mx6cuboxi_defconfig +++ b/configs/mx6cuboxi_defconfig @@ -23,6 +23,7 @@ CONFIG_SPL_I2C_SUPPORT=y CONFIG_CMD_MMC=y CONFIG_CMD_USB=y CONFIG_CMD_GPIO=y +CONFIG_CMD_SATA=y CONFIG_CMD_CACHE=y CONFIG_CMD_EXT4_WRITE=y # CONFIG_SPL_PARTITION_UUIDS is not set diff --git a/include/configs/mx6cuboxi.h b/include/configs/mx6cuboxi.h index 5fda6bd..05a9ffd 100644 --- a/include/configs/mx6cuboxi.h +++ b/include/configs/mx6cuboxi.h @@ -22,7 +22,6 @@ #define CONFIG_SYS_FSL_ESDHC_ADDR USDHC2_BASE_ADDR /* SATA Configuration */ -#define CONFIG_CMD_SATA #ifdef CONFIG_CMD_SATA #define CONFIG_DWC_AHSATA #define CONFIG_SYS_SATA_MAX_DEVICE 1 |