diff options
author | Samuel Holland | 2021-09-12 10:28:35 -0500 |
---|---|---|
committer | Andre Przywara | 2021-10-11 10:46:44 +0100 |
commit | dda9fa734f813c0d0c29aa03bfe200950b40cfea (patch) | |
tree | 0952af22aff804e2e7a1d376b1207df8d4af8e81 /configs/Yones_Toptech_BD1078_defconfig | |
parent | 21d314a6612564ee202d8a8189ed37d5c6abf0dd (diff) |
sunxi: Simplify MMC pinmux selection
Only one board, Yones Toptech BD1078, actually uses a non-default MMC
pinmux. All other uses of these symbols select the default value or an
invalid value. To simplify things, remove support for the unused pinmux
options, and convert the remaining option to a Boolean.
This allows the pinmux to be chosen by the preprocessor, instead of
having the code parse a string at runtime (for a build-time option!).
Not only does this reduce code size, but it also allows this Kconfig
option to be used in a table-driven DM pinctrl driver.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'configs/Yones_Toptech_BD1078_defconfig')
-rw-r--r-- | configs/Yones_Toptech_BD1078_defconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/Yones_Toptech_BD1078_defconfig b/configs/Yones_Toptech_BD1078_defconfig index 1b88cfabf04..f1ceb8b5527 100644 --- a/configs/Yones_Toptech_BD1078_defconfig +++ b/configs/Yones_Toptech_BD1078_defconfig @@ -6,7 +6,7 @@ CONFIG_MACH_SUN7I=y CONFIG_DRAM_CLK=408 CONFIG_MMC0_CD_PIN="PH1" CONFIG_MMC1_CD_PIN="PH2" -CONFIG_MMC1_PINS="PH" +CONFIG_MMC1_PINS_PH=y CONFIG_MMC_SUNXI_SLOT_EXTRA=1 CONFIG_USB0_VBUS_PIN="PB9" CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT" |