mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 07:40:55 +07:00
3515c1bbfa
With previous fixes to stmmac, sun4i-emac and sun4i-mmc at least the Cubieboard2 incarnation of sunxi works correctly in big-endian mode. Allow the selection of big-endian. Tested using a Cubieboard2 DualCard and the following hardware-components: - GMAC (stmmac) - EMAC (sun4i-emac) - SATA - SPI - UART - security system - touchscreen controller hwmon functionality - pinctrl (custom interrupt for SPI ethernet controller) - watchdog as reset controller - onboard RTC - DS1307 I2C RTC - sound codec and with this indirectly the DMA engine Signed-off-by: Michael Weiser <michael.weiser@gmx.de> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> Cc: Chen-Yu Tsai <wens@csie.org> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
51 lines
999 B
Plaintext
51 lines
999 B
Plaintext
menuconfig ARCH_SUNXI
|
|
bool "Allwinner SoCs"
|
|
depends on ARCH_MULTI_V7
|
|
select ARCH_HAS_RESET_CONTROLLER
|
|
select CLKSRC_MMIO
|
|
select GENERIC_IRQ_CHIP
|
|
select GPIOLIB
|
|
select PINCTRL
|
|
select SUN4I_TIMER
|
|
select RESET_CONTROLLER
|
|
|
|
if ARCH_SUNXI
|
|
|
|
config MACH_SUN4I
|
|
bool "Allwinner A10 (sun4i) SoCs support"
|
|
default ARCH_SUNXI
|
|
|
|
config MACH_SUN5I
|
|
bool "Allwinner A10s / A13 (sun5i) SoCs support"
|
|
default ARCH_SUNXI
|
|
select SUN5I_HSTIMER
|
|
|
|
config MACH_SUN6I
|
|
bool "Allwinner A31 (sun6i) SoCs support"
|
|
default ARCH_SUNXI
|
|
select ARM_GIC
|
|
select MFD_SUN6I_PRCM
|
|
select SUN5I_HSTIMER
|
|
|
|
config MACH_SUN7I
|
|
bool "Allwinner A20 (sun7i) SoCs support"
|
|
default ARCH_SUNXI
|
|
select ARM_GIC
|
|
select ARM_PSCI
|
|
select ARCH_SUPPORTS_BIG_ENDIAN
|
|
select HAVE_ARM_ARCH_TIMER
|
|
select SUN5I_HSTIMER
|
|
|
|
config MACH_SUN8I
|
|
bool "Allwinner sun8i Family SoCs support"
|
|
default ARCH_SUNXI
|
|
select ARM_GIC
|
|
select MFD_SUN6I_PRCM
|
|
|
|
config MACH_SUN9I
|
|
bool "Allwinner (sun9i) SoCs support"
|
|
default ARCH_SUNXI
|
|
select ARM_GIC
|
|
|
|
endif
|