mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 06:00:43 +00:00
dda9fa734f
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>
30 lines
708 B
Text
30 lines
708 B
Text
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun7i-a20-olimex-som-evb"
|
|
CONFIG_SPL=y
|
|
CONFIG_MACH_SUN7I=y
|
|
CONFIG_DRAM_CLK=384
|
|
CONFIG_MMC0_CD_PIN="PH1"
|
|
CONFIG_MMC3_CD_PIN="PH0"
|
|
CONFIG_MMC_SUNXI_SLOT_EXTRA=3
|
|
CONFIG_USB0_VBUS_PIN="PB9"
|
|
CONFIG_USB0_VBUS_DET="PH5"
|
|
CONFIG_SATAPWR="PC3"
|
|
CONFIG_AHCI=y
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_SPL_I2C=y
|
|
CONFIG_SCSI_AHCI=y
|
|
CONFIG_SYS_I2C_MVTWSI=y
|
|
CONFIG_SYS_I2C_SLAVE=0x7f
|
|
CONFIG_SYS_I2C_SPEED=400000
|
|
CONFIG_PHY_REALTEK=y
|
|
CONFIG_RTL8211X_PHY_FORCE_MASTER=y
|
|
CONFIG_ETH_DESIGNWARE=y
|
|
CONFIG_RGMII=y
|
|
CONFIG_MII=y
|
|
CONFIG_SUN7I_GMAC=y
|
|
CONFIG_AXP_ALDO3_VOLT=2800
|
|
CONFIG_AXP_ALDO4_VOLT=2800
|
|
CONFIG_SCSI=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
CONFIG_USB_OHCI_HCD=y
|