arm: socfpga: imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
authorSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Tue, 30 Oct 2018 19:21:49 +0000 (20:21 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 31 Oct 2018 00:41:10 +0000 (01:41 +0100)
Using imply for SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION instead of
select ensures we can build without partition support (used to build
a network boot only version of SPL and U-Boot).

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
arch/arm/Kconfig

index 326d5c0daadf1615aeb200b44e6e0e03b4f5d9b6..1f3fa1575a31e95022573c65d928fd999a1b0a5a 100644 (file)
@@ -807,7 +807,6 @@ config ARCH_SOCFPGA
        select SPL_SPI_SUPPORT if DM_SPI
        select SPL_WATCHDOG_SUPPORT
        select SUPPORT_SPL
-       select SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
        select SYS_NS16550
        select SYS_THUMB_BUILD if TARGET_SOCFPGA_GEN5 || TARGET_SOCFPGA_ARRIA10
        imply CMD_DM
@@ -817,6 +816,7 @@ config ARCH_SOCFPGA
        imply DM_SPI_FLASH
        imply FAT_WRITE
        imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION
+       imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION_TYPE
 
 config ARCH_SUNXI
        bool "Support sunxi (Allwinner) SoCs"