This value is always defined to 0, so move it to Kconfig as being set to
always 0.

Cc: Andre Przywara <andre.przyw...@arm.com>
C: Icenowy Zheng <icen...@aosc.io>
Signed-off-by: Tom Rini <tr...@konsulko.com>
---
 arch/arm/mach-sunxi/Kconfig    | 4 ++++
 include/configs/sunxi-common.h | 3 ---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig
index dbe6005daab1..c311a6d03523 100644
--- a/arch/arm/mach-sunxi/Kconfig
+++ b/arch/arm/mach-sunxi/Kconfig
@@ -685,6 +685,10 @@ config MMC1_PINS_PH
        ---help---
        Select this option for boards where mmc1 uses the Port H pinmux.
 
+config MMC_SUNXI_SLOT
+       int
+       default 0
+
 config MMC_SUNXI_SLOT_EXTRA
        int "mmc extra slot number"
        default -1
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 1677aafad03b..496139f34635 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -69,9 +69,6 @@
 #define PHYS_SDRAM_0                   CFG_SYS_SDRAM_BASE
 #define PHYS_SDRAM_0_SIZE              0x80000000 /* 2 GiB */
 
-/* mmc config */
-#define CONFIG_MMC_SUNXI_SLOT          0
-
 /*
  * Miscellaneous configurable options
  */
-- 
2.25.1

Reply via email to