sunxi-mmc: introduce new MMC_SUNXI_HAS_MODE_SWITCH option
[oweals/u-boot.git] / arch / arm / mach-sunxi / Kconfig
index 764337c6435f3df683a3264b0ca303714cb325af..66fff6c6d3c177ea5de3851407438b3b5ae81788 100644 (file)
@@ -140,6 +140,12 @@ config MACH_SUNXI_H3_H5
        select SUNXI_GEN_SUN6I
        select SUPPORT_SPL
 
+# TODO: try out A80's 8GiB DRAM space
+config SUNXI_DRAM_MAX_SIZE
+       hex
+       default 0xC0000000 if MACH_SUN50I || MACH_SUN50I_H5 || MACH_SUN50I_H6
+       default 0x80000000
+
 choice
        prompt "Sunxi SoC Variant"
        optional
@@ -224,6 +230,7 @@ config MACH_SUN8I_A83T
        select PHY_SUN4I_USB
        select SUNXI_GEN_SUN6I
        select MMC_SUNXI_HAS_NEW_MODE
+       select MMC_SUNXI_HAS_MODE_SWITCH
        select SUPPORT_SPL
 
 config MACH_SUN8I_H3
@@ -272,6 +279,7 @@ config MACH_SUN50I
        select ARM64
        select DM_I2C
        select PHY_SUN4I_USB
+       select SUN6I_PRCM
        select SUNXI_DE2
        select SUNXI_GEN_SUN6I
        select SUPPORT_SPL