diff options
author | Samuel Holland <samuel@sholland.org> | 2021-09-12 10:28:35 -0500 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2021-10-11 10:46:44 +0100 |
commit | dda9fa734f813c0d0c29aa03bfe200950b40cfea (patch) | |
tree | 0952af22aff804e2e7a1d376b1207df8d4af8e81 /configs/A20-Olimex-SOM-EVB_defconfig | |
parent | 21d314a6612564ee202d8a8189ed37d5c6abf0dd (diff) | |
download | u-boot-dda9fa734f813c0d0c29aa03bfe200950b40cfea.tar.gz u-boot-dda9fa734f813c0d0c29aa03bfe200950b40cfea.tar.bz2 u-boot-dda9fa734f813c0d0c29aa03bfe200950b40cfea.zip |
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/A20-Olimex-SOM-EVB_defconfig')
-rw-r--r-- | configs/A20-Olimex-SOM-EVB_defconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/A20-Olimex-SOM-EVB_defconfig b/configs/A20-Olimex-SOM-EVB_defconfig index ececdaca15..075d999e1c 100644 --- a/configs/A20-Olimex-SOM-EVB_defconfig +++ b/configs/A20-Olimex-SOM-EVB_defconfig @@ -6,7 +6,6 @@ CONFIG_MACH_SUN7I=y CONFIG_DRAM_CLK=384 CONFIG_MMC0_CD_PIN="PH1" CONFIG_MMC3_CD_PIN="PH0" -CONFIG_MMC3_PINS="PH" CONFIG_MMC_SUNXI_SLOT_EXTRA=3 CONFIG_USB0_VBUS_PIN="PB9" CONFIG_USB0_VBUS_DET="PH5" |