Now that we have a runtime function to decide the default MMC device to use on Allwinner boards, we don't need the hardcoded Kconfig variable anymore (we do the same logic at runtime now).
Drop the sunxi defaults, and since there is only one other user left, use one generic default of 0 now. An "int" type KConfig variable needs a default anyway, (even when this is never used), otherwise *every* user has to specify one. Signed-off-by: Andre Przywara <andre.przyw...@arm.com> --- drivers/fastboot/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/fastboot/Kconfig b/drivers/fastboot/Kconfig index 2d1836a80e0..06536e249c4 100644 --- a/drivers/fastboot/Kconfig +++ b/drivers/fastboot/Kconfig @@ -98,9 +98,7 @@ endchoice config FASTBOOT_FLASH_MMC_DEV int "Define FASTBOOT MMC FLASH default device" depends on FASTBOOT_FLASH_MMC - default 0 if ARCH_ROCKCHIP - default 0 if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA = -1 - default 1 if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA != -1 + default 0 help The fastboot "flash" command requires additional information regarding the non-volatile storage device. Define this to -- 2.17.5