Commit fef4a545b696daf7f27f176aae82fd47b1174aba
Committed by
Marek Vasut
1 parent
21a9f435f3
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
arm: socfpga: use imply instead of select where applicable
Kconfig should only 'select' features that are required for an arch. Standard features that can be disabled without breaking board support should use 'imply' instead, to allow users to disable it. These options are changed for mach-socfpga: - DM_SPI & DM_SPI_FLASH: only required with QSPI support enabled - SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION: the boot rom supports a partitionless mode also, where SPL is located at address 0 - HW_WATCHDOG: while all mainline board defconfigs use it, U-Boot should still work without it. Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff
arch/arm/Kconfig
... | ... | @@ -698,17 +698,17 @@ |
698 | 698 | select OF_CONTROL |
699 | 699 | select SPL_OF_CONTROL |
700 | 700 | select DM |
701 | - select DM_SPI_FLASH | |
702 | - select DM_SPI | |
703 | 701 | select ENABLE_ARM_SOC_BOOT0_HOOK |
704 | - select HW_WATCHDOG | |
705 | 702 | select ARCH_EARLY_INIT_R |
706 | 703 | select ARCH_MISC_INIT |
707 | - select SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION | |
708 | 704 | select SYS_THUMB_BUILD |
709 | 705 | imply CMD_MTDPARTS |
710 | 706 | imply CRC32_VERIFY |
707 | + imply DM_SPI | |
708 | + imply DM_SPI_FLASH | |
711 | 709 | imply FAT_WRITE |
710 | + imply HW_WATCHDOG | |
711 | + imply SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION | |
712 | 712 | |
713 | 713 | config ARCH_SUNXI |
714 | 714 | bool "Support sunxi (Allwinner) SoCs" |