mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 10:06:48 +07:00
b274776c54
A large number of cleanups, all over the platforms. This is dominated largely by the Samsung platforms (s3c, s5p, exynos) and a few of the others moving code out of arch/arm into more appropriate subsystems. The clocksource and irqchip drivers are now abstracted to the point where platforms that are already cleaned up do not need to even specify the driver they use, it can all get configured from the device tree as we do for normal device drivers. The clocksource changes basically touch every single platform in the process. We further clean up the use of platform specific header files here, with the goal of turning more of the platforms over to being "multiplatform" enabled, which implies that they cannot expose their headers to architecture independent code any more. It is expected that no functional changes are part of the cleanup. The overall reduction in total code lines is mostly the result of removing broken and obsolete code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIVAwUAUSUyKmCrR//JCVInAQIN8RAAnb/uPytmlMjn5yCksF4Mvb/FVbn/TVwz KRIGpCHOzyKK1q7pM8NRUVWfjW2SZqbXJFqx6zBGKSlDPvFTOhsLyyupU+Tnyu5W IX4eIUBwb+a6H7XDHw0X2YI8uHzi5RNLhne0A1QyDKcnuHs1LDAttXnJHaK4Ap6Y NN2YFt3l3ld7DXWXJtMsw5v8lC10aeIFGTvXefaPDAdeMLivmI57qEUMDXknNr7W Odz/Rc0/cw3BNBVl/zNHA0jw7FOjKAymCYYNUa4xDCJEr+JnIRTqizd0N/YIIC7x aA2xjJ3oKUFyF51yiJE6nFuTyJznhwtehc+uiMOSIkjrPLym52LEHmd7G5Yqlmjz oiei09qBb870q3lGxwfht9iaeIwYgQFYGfD0yW5QWArCO5pxhtCPLPH7YZNZtcQd ZJRSGGqT/ljBz3bm0K9OLESeeTTN7+Nxvtpiz/CD+Piegz0gWJzDYJRTzkJ3UWpA WTVhVQdWUeX2JrNkgM7Z3Tu8iXOe+LIEs7kVXGJZSREmIIZiRvR36UrODZtAkp9I 7YQ+srX/uaR832pgK0RrHK0zY0psU6MmIvhYxJZFbx7keiPA9eH6drb0x7tGqcUD FzEUzvcZvyqppndfBi+R60H/YKAhJDEXdwxzo6dyCpPQaW1T9GnzIqXuE1zin+Aw X7Y8YywMbHI= =DvgJ -----END PGP SIGNATURE----- Merge tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc Pull ARM SoC cleanups from Arnd Bergmann: "A large number of cleanups, all over the platforms. This is dominated largely by the Samsung platforms (s3c, s5p, exynos) and a few of the others moving code out of arch/arm into more appropriate subsystems. The clocksource and irqchip drivers are now abstracted to the point where platforms that are already cleaned up do not need to even specify the driver they use, it can all get configured from the device tree as we do for normal device drivers. The clocksource changes basically touch every single platform in the process. We further clean up the use of platform specific header files here, with the goal of turning more of the platforms over to being "multiplatform" enabled, which implies that they cannot expose their headers to architecture independent code any more. It is expected that no functional changes are part of the cleanup. The overall reduction in total code lines is mostly the result of removing broken and obsolete code." * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (133 commits) ARM: mvebu: correct gated clock documentation ARM: kirkwood: add missing include for nsa310 ARM: exynos: move exynos4210-combiner to drivers/irqchip mfd: db8500-prcmu: update resource passing drivers/db8500-cpufreq: delete dangling include ARM: at91: remove NEOCORE 926 board sunxi: Cleanup the reset code and add meaningful registers defines ARM: S3C24XX: header mach/regs-mem.h local ARM: S3C24XX: header mach/regs-power.h local ARM: S3C24XX: header mach/regs-s3c2412-mem.h local ARM: S3C24XX: Remove plat-s3c24xx directory in arch/arm/ ARM: S3C24XX: transform s3c2443 subirqs into new structure ARM: S3C24XX: modify s3c2443 irq init to initialize all irqs ARM: S3C24XX: move s3c2443 irq code to irq.c ARM: S3C24XX: transform s3c2416 irqs into new structure ARM: S3C24XX: modify s3c2416 irq init to initialize all irqs ARM: S3C24XX: move s3c2416 irq init to common irq code ARM: S3C24XX: Modify s3c_irq_wake to use the hwirq property ARM: S3C24XX: Move irq syscore-ops to irq-pm clocksource: always define CLOCKSOURCE_OF_DECLARE ...
836 lines
22 KiB
Plaintext
836 lines
22 KiB
Plaintext
config ARCH_MXC
|
|
bool "Freescale i.MX family" if ARCH_MULTI_V4_V5 || ARCH_MULTI_V6_V7
|
|
select ARCH_REQUIRE_GPIOLIB
|
|
select ARM_PATCH_PHYS_VIRT
|
|
select AUTO_ZRELADDR if !ZBOOT_ROM
|
|
select CLKDEV_LOOKUP
|
|
select CLKSRC_MMIO
|
|
select GENERIC_CLOCKEVENTS
|
|
select GENERIC_IRQ_CHIP
|
|
select MULTI_IRQ_HANDLER
|
|
select SPARSE_IRQ
|
|
select USE_OF
|
|
help
|
|
Support for Freescale MXC/iMX-based family of processors
|
|
|
|
menu "Freescale i.MX support"
|
|
depends on ARCH_MXC
|
|
|
|
config MXC_IRQ_PRIOR
|
|
bool "Use IRQ priority"
|
|
help
|
|
Select this if you want to use prioritized IRQ handling.
|
|
This feature prevents higher priority ISR to be interrupted
|
|
by lower priority IRQ even IRQF_DISABLED flag is not set.
|
|
This may be useful in embedded applications, where are strong
|
|
requirements for timing.
|
|
Say N here, unless you have a specialized requirement.
|
|
|
|
config MXC_TZIC
|
|
bool
|
|
|
|
config MXC_AVIC
|
|
bool
|
|
|
|
config MXC_DEBUG_BOARD
|
|
bool "Enable MXC debug board(for 3-stack)"
|
|
help
|
|
The debug board is an integral part of the MXC 3-stack(PDK)
|
|
platforms, it can be attached or removed from the peripheral
|
|
board. On debug board, several debug devices(ethernet, UART,
|
|
buttons, LEDs and JTAG) are implemented. Between the MCU and
|
|
these devices, a CPLD is added as a bridge which performs
|
|
data/address de-multiplexing and decode, signal level shift,
|
|
interrupt control and various board functions.
|
|
|
|
config HAVE_EPIT
|
|
bool
|
|
|
|
config MXC_USE_EPIT
|
|
bool "Use EPIT instead of GPT"
|
|
depends on HAVE_EPIT
|
|
help
|
|
Use EPIT as the system timer on systems that have it. Normally you
|
|
don't have a reason to do so as the EPIT has the same features and
|
|
uses the same clocks as the GPT. Anyway, on some systems the GPT
|
|
may be in use for other purposes.
|
|
|
|
config MXC_ULPI
|
|
bool
|
|
|
|
config ARCH_HAS_RNGA
|
|
bool
|
|
|
|
config IRAM_ALLOC
|
|
bool
|
|
select GENERIC_ALLOCATOR
|
|
|
|
config HAVE_IMX_GPC
|
|
bool
|
|
|
|
config HAVE_IMX_MMDC
|
|
bool
|
|
|
|
config HAVE_IMX_SRC
|
|
def_bool y if SMP
|
|
|
|
config IMX_HAVE_IOMUX_V1
|
|
bool
|
|
|
|
config ARCH_MXC_IOMUX_V3
|
|
bool
|
|
|
|
config ARCH_MX1
|
|
bool
|
|
|
|
config MACH_MX21
|
|
bool
|
|
|
|
config ARCH_MX25
|
|
bool
|
|
|
|
config MACH_MX27
|
|
bool
|
|
|
|
config ARCH_MX5
|
|
bool
|
|
|
|
config ARCH_MX51
|
|
bool
|
|
|
|
config ARCH_MX53
|
|
bool
|
|
|
|
config SOC_IMX1
|
|
bool
|
|
select ARCH_MX1
|
|
select COMMON_CLK
|
|
select CPU_ARM920T
|
|
select IMX_HAVE_IOMUX_V1
|
|
select MXC_AVIC
|
|
|
|
config SOC_IMX21
|
|
bool
|
|
select COMMON_CLK
|
|
select CPU_ARM926T
|
|
select IMX_HAVE_IOMUX_V1
|
|
select MACH_MX21
|
|
select MXC_AVIC
|
|
|
|
config SOC_IMX25
|
|
bool
|
|
select ARCH_MX25
|
|
select ARCH_MXC_IOMUX_V3
|
|
select COMMON_CLK
|
|
select CPU_ARM926T
|
|
select HAVE_CAN_FLEXCAN if CAN
|
|
select MXC_AVIC
|
|
|
|
config SOC_IMX27
|
|
bool
|
|
select COMMON_CLK
|
|
select CPU_ARM926T
|
|
select IMX_HAVE_IOMUX_V1
|
|
select MACH_MX27
|
|
select MXC_AVIC
|
|
|
|
config SOC_IMX31
|
|
bool
|
|
select COMMON_CLK
|
|
select CPU_V6
|
|
select IMX_HAVE_PLATFORM_MXC_RNGA
|
|
select MXC_AVIC
|
|
select SMP_ON_UP if SMP
|
|
|
|
config SOC_IMX35
|
|
bool
|
|
select ARCH_MXC_IOMUX_V3
|
|
select COMMON_CLK
|
|
select CPU_V6K
|
|
select HAVE_CAN_FLEXCAN if CAN
|
|
select HAVE_EPIT
|
|
select MXC_AVIC
|
|
select SMP_ON_UP if SMP
|
|
|
|
config SOC_IMX5
|
|
bool
|
|
select ARCH_HAS_CPUFREQ
|
|
select ARCH_MX5
|
|
select ARCH_MXC_IOMUX_V3
|
|
select COMMON_CLK
|
|
select CPU_V7
|
|
select MXC_TZIC
|
|
|
|
config SOC_IMX51
|
|
bool
|
|
select ARCH_MX5
|
|
select ARCH_MX51
|
|
select PINCTRL
|
|
select PINCTRL_IMX51
|
|
select SOC_IMX5
|
|
|
|
if ARCH_MULTI_V4T
|
|
|
|
comment "MX1 platforms:"
|
|
config MACH_MXLADS
|
|
bool
|
|
|
|
config ARCH_MX1ADS
|
|
bool "MX1ADS platform"
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select MACH_MXLADS
|
|
select SOC_IMX1
|
|
help
|
|
Say Y here if you are using Motorola MX1ADS/MXLADS boards
|
|
|
|
config MACH_SCB9328
|
|
bool "Synertronixx scb9328"
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
help
|
|
Say Y here if you are using a Synertronixx scb9328 board
|
|
|
|
config MACH_APF9328
|
|
bool "APF9328"
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select SOC_IMX1
|
|
help
|
|
Say Yes here if you are using the Armadeus APF9328 development board
|
|
|
|
endif
|
|
|
|
if ARCH_MULTI_V5
|
|
|
|
comment "MX21 platforms:"
|
|
|
|
config MACH_MX21ADS
|
|
bool "MX21ADS platform"
|
|
select IMX_HAVE_PLATFORM_IMX_FB
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select SOC_IMX21
|
|
help
|
|
Include support for MX21ADS platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
comment "MX25 platforms:"
|
|
|
|
config MACH_MX25_3DS
|
|
bool "Support MX25PDK (3DS) Platform"
|
|
select IMX_HAVE_PLATFORM_FLEXCAN
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMXDI_RTC
|
|
select IMX_HAVE_PLATFORM_IMX_FB
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_KEYPAD
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
|
|
select SOC_IMX25
|
|
|
|
config MACH_EUKREA_CPUIMX25SD
|
|
bool "Support Eukrea CPUIMX25 Platform"
|
|
select IMX_HAVE_PLATFORM_FLEXCAN
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMXDI_RTC
|
|
select IMX_HAVE_PLATFORM_IMX_FB
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX25
|
|
|
|
choice
|
|
prompt "Baseboard"
|
|
depends on MACH_EUKREA_CPUIMX25SD
|
|
default MACH_EUKREA_MBIMXSD25_BASEBOARD
|
|
|
|
config MACH_EUKREA_MBIMXSD25_BASEBOARD
|
|
bool "Eukrea MBIMXSD development board"
|
|
select IMX_HAVE_PLATFORM_GPIO_KEYS
|
|
select IMX_HAVE_PLATFORM_IMX_SSI
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
select LEDS_GPIO_REGISTER
|
|
help
|
|
This adds board specific devices that can be found on Eukrea's
|
|
MBIMXSD evaluation board.
|
|
|
|
endchoice
|
|
|
|
config MACH_IMX25_DT
|
|
bool "Support i.MX25 platforms from device tree"
|
|
select SOC_IMX25
|
|
help
|
|
Include support for Freescale i.MX25 based platforms
|
|
using the device tree for discovery
|
|
|
|
comment "MX27 platforms:"
|
|
|
|
config MACH_MX27ADS
|
|
bool "MX27ADS platform"
|
|
select IMX_HAVE_PLATFORM_IMX_FB
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_MXC_W1
|
|
select SOC_IMX27
|
|
help
|
|
Include support for MX27ADS platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_PCM038
|
|
bool "Phytec phyCORE-i.MX27 CPU module (pcm038)"
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_MXC_W1
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX27
|
|
help
|
|
Include support for phyCORE-i.MX27 (aka pcm038) platform. This
|
|
includes specific configurations for the module and its peripherals.
|
|
|
|
choice
|
|
prompt "Baseboard"
|
|
depends on MACH_PCM038
|
|
default MACH_PCM970_BASEBOARD
|
|
|
|
config MACH_PCM970_BASEBOARD
|
|
bool "PHYTEC PCM970 development board"
|
|
select IMX_HAVE_PLATFORM_IMX_FB
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
help
|
|
This adds board specific devices that can be found on Phytec's
|
|
PCM970 evaluation board.
|
|
|
|
endchoice
|
|
|
|
config MACH_CPUIMX27
|
|
bool "Eukrea CPUIMX27 module"
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_MXC_W1
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX27
|
|
help
|
|
Include support for Eukrea CPUIMX27 platform. This includes
|
|
specific configurations for the module and its peripherals.
|
|
|
|
config MACH_EUKREA_CPUIMX27_USESDHC2
|
|
bool "CPUIMX27 integrates SDHC2 module"
|
|
depends on MACH_CPUIMX27
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
help
|
|
This adds support for the internal SDHC2 used on CPUIMX27
|
|
for wifi or eMMC.
|
|
|
|
config MACH_EUKREA_CPUIMX27_USEUART4
|
|
bool "CPUIMX27 integrates UART4 module"
|
|
depends on MACH_CPUIMX27
|
|
help
|
|
This adds support for the internal UART4 used on CPUIMX27
|
|
for bluetooth.
|
|
|
|
choice
|
|
prompt "Baseboard"
|
|
depends on MACH_CPUIMX27
|
|
default MACH_EUKREA_MBIMX27_BASEBOARD
|
|
|
|
config MACH_EUKREA_MBIMX27_BASEBOARD
|
|
bool "Eukrea MBIMX27 development board"
|
|
select IMX_HAVE_PLATFORM_IMX_FB
|
|
select IMX_HAVE_PLATFORM_IMX_KEYPAD
|
|
select IMX_HAVE_PLATFORM_IMX_SSI
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
select LEDS_GPIO_REGISTER
|
|
help
|
|
This adds board specific devices that can be found on Eukrea's
|
|
MBIMX27 evaluation board.
|
|
|
|
endchoice
|
|
|
|
config MACH_MX27_3DS
|
|
bool "MX27PDK platform"
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_FB
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_KEYPAD
|
|
select IMX_HAVE_PLATFORM_IMX_SSI
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MX2_CAMERA
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
select MXC_DEBUG_BOARD
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX27
|
|
help
|
|
Include support for MX27PDK platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_IMX27_VISSTRIM_M10
|
|
bool "Vista Silicon i.MX27 Visstrim_m10"
|
|
select IMX_HAVE_PLATFORM_GPIO_KEYS
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_SSI
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MX2_CAMERA
|
|
select IMX_HAVE_PLATFORM_MX2_EMMA
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select LEDS_GPIO_REGISTER
|
|
select SOC_IMX27
|
|
help
|
|
Include support for Visstrim_m10 platform and its different variants.
|
|
This includes specific configurations for the board and its
|
|
peripherals.
|
|
|
|
config MACH_IMX27LITE
|
|
bool "LogicPD MX27 LITEKIT platform"
|
|
select IMX_HAVE_PLATFORM_IMX_SSI
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select SOC_IMX27
|
|
help
|
|
Include support for MX27 LITEKIT platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_PCA100
|
|
bool "Phytec phyCARD-s (pca100)"
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_FB
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_SSI
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_MXC_W1
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX27
|
|
help
|
|
Include support for phyCARD-s (aka pca100) platform. This
|
|
includes specific configurations for the module and its peripherals.
|
|
|
|
config MACH_MXT_TD60
|
|
bool "Maxtrack i-MXT TD60"
|
|
select IMX_HAVE_PLATFORM_IMX_FB
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select SOC_IMX27
|
|
help
|
|
Include support for i-MXT (aka td60) platform. This
|
|
includes specific configurations for the module and its peripherals.
|
|
|
|
config MACH_IMX27IPCAM
|
|
bool "IMX27 IPCAM platform"
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select SOC_IMX27
|
|
help
|
|
Include support for IMX27 IPCAM platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_IMX27_DT
|
|
bool "Support i.MX27 platforms from device tree"
|
|
select SOC_IMX27
|
|
help
|
|
Include support for Freescale i.MX27 based platforms
|
|
using the device tree for discovery
|
|
|
|
endif
|
|
|
|
if ARCH_MULTI_V6
|
|
|
|
comment "MX31 platforms:"
|
|
|
|
config MACH_MX31ADS
|
|
bool "Support MX31ADS platforms"
|
|
default y
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_SSI
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select SOC_IMX31
|
|
help
|
|
Include support for MX31ADS platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_MX31ADS_WM1133_EV1
|
|
bool "Support Wolfson Microelectronics 1133-EV1 module"
|
|
depends on MACH_MX31ADS
|
|
depends on MFD_WM8350_I2C
|
|
depends on REGULATOR_WM8350 = y
|
|
select MFD_WM8350_CONFIG_MODE_0
|
|
select MFD_WM8352_CONFIG_MODE_0
|
|
help
|
|
Include support for the Wolfson Microelectronics 1133-EV1 PMU
|
|
and audio module for the MX31ADS platform.
|
|
|
|
config MACH_MX31LILLY
|
|
bool "Support MX31 LILLY-1131 platforms (INCO startec)"
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_IPU_CORE
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX31
|
|
help
|
|
Include support for mx31 based LILLY1131 modules. This includes
|
|
specific configurations for the board and its peripherals.
|
|
|
|
config MACH_MX31LITE
|
|
bool "Support MX31 LITEKIT (LogicPD)"
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_MXC_RTC
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
select LEDS_GPIO_REGISTER
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX31
|
|
help
|
|
Include support for MX31 LITEKIT platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_PCM037
|
|
bool "Support Phytec pcm037 (i.MX31) platforms"
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_IPU_CORE
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_MXC_W1
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX31
|
|
help
|
|
Include support for Phytec pcm037 platform. This includes
|
|
specific configurations for the board and its peripherals.
|
|
|
|
config MACH_PCM037_EET
|
|
bool "Support pcm037 EET board extensions"
|
|
depends on MACH_PCM037
|
|
select IMX_HAVE_PLATFORM_GPIO_KEYS
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
help
|
|
Add support for PCM037 EET baseboard extensions. If you are using the
|
|
OLED display with EET, use "video=mx3fb:CMEL-OLED" kernel
|
|
command-line parameter.
|
|
|
|
config MACH_MX31_3DS
|
|
bool "Support MX31PDK (3DS)"
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_KEYPAD
|
|
select IMX_HAVE_PLATFORM_IMX_SSI
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_IPU_CORE
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
select MXC_DEBUG_BOARD
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX31
|
|
help
|
|
Include support for MX31PDK (3DS) platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_MX31_3DS_MXC_NAND_USE_BBT
|
|
bool "Make the MXC NAND driver use the in flash Bad Block Table"
|
|
depends on MACH_MX31_3DS
|
|
depends on MTD_NAND_MXC
|
|
help
|
|
Enable this if you want that the MXC NAND driver uses the in flash
|
|
Bad Block Table to know what blocks are bad instead of scanning the
|
|
entire flash looking for bad block markers.
|
|
|
|
config MACH_MX31MOBOARD
|
|
bool "Support mx31moboard platforms (EPFL Mobots group)"
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_SSI
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_IPU_CORE
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
select LEDS_GPIO_REGISTER
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX31
|
|
help
|
|
Include support for mx31moboard platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_QONG
|
|
bool "Support Dave/DENX QongEVB-LITE platform"
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select SOC_IMX31
|
|
help
|
|
Include support for Dave/DENX QongEVB-LITE platform. This includes
|
|
specific configurations for the board and its peripherals.
|
|
|
|
config MACH_ARMADILLO5X0
|
|
bool "Support Atmark Armadillo-500 Development Base Board"
|
|
select IMX_HAVE_PLATFORM_GPIO_KEYS
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_IPU_CORE
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_MMC
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX31
|
|
help
|
|
Include support for Atmark Armadillo-500 platform. This includes
|
|
specific configurations for the board and its peripherals.
|
|
|
|
config MACH_KZM_ARM11_01
|
|
bool "Support KZM-ARM11-01(Kyoto Microcomputer)"
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select SOC_IMX31
|
|
help
|
|
Include support for KZM-ARM11-01. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_BUG
|
|
bool "Support Buglabs BUGBase platform"
|
|
default y
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select SOC_IMX31
|
|
help
|
|
Include support for BUGBase 1.3 platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_IMX31_DT
|
|
bool "Support i.MX31 platforms from device tree"
|
|
select SOC_IMX31
|
|
help
|
|
Include support for Freescale i.MX31 based platforms
|
|
using the device tree for discovery.
|
|
|
|
comment "MX35 platforms:"
|
|
|
|
config MACH_PCM043
|
|
bool "Support Phytec pcm043 (i.MX35) platforms"
|
|
select IMX_HAVE_PLATFORM_FLEXCAN
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_SSI
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_IPU_CORE
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX35
|
|
help
|
|
Include support for Phytec pcm043 platform. This includes
|
|
specific configurations for the board and its peripherals.
|
|
|
|
config MACH_MX35_3DS
|
|
bool "Support MX35PDK platform"
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_FB
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_IPU_CORE
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_MXC_RTC
|
|
select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
|
|
select MXC_DEBUG_BOARD
|
|
select SOC_IMX35
|
|
help
|
|
Include support for MX35PDK platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
config MACH_EUKREA_CPUIMX35SD
|
|
bool "Support Eukrea CPUIMX35 Platform"
|
|
select IMX_HAVE_PLATFORM_FLEXCAN
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
|
|
select MXC_ULPI if USB_ULPI
|
|
select SOC_IMX35
|
|
help
|
|
Include support for Eukrea CPUIMX35 platform. This includes
|
|
specific configurations for the board and its peripherals.
|
|
|
|
choice
|
|
prompt "Baseboard"
|
|
depends on MACH_EUKREA_CPUIMX35SD
|
|
default MACH_EUKREA_MBIMXSD35_BASEBOARD
|
|
|
|
config MACH_EUKREA_MBIMXSD35_BASEBOARD
|
|
bool "Eukrea MBIMXSD development board"
|
|
select IMX_HAVE_PLATFORM_GPIO_KEYS
|
|
select IMX_HAVE_PLATFORM_IMX_SSI
|
|
select IMX_HAVE_PLATFORM_IPU_CORE
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
select LEDS_GPIO_REGISTER
|
|
help
|
|
This adds board specific devices that can be found on Eukrea's
|
|
MBIMXSD evaluation board.
|
|
|
|
endchoice
|
|
|
|
config MACH_VPR200
|
|
bool "Support VPR200 platform"
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_GPIO_KEYS
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_IPU_CORE
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
|
|
select SOC_IMX35
|
|
help
|
|
Include support for VPR200 platform. This includes specific
|
|
configurations for the board and its peripherals.
|
|
|
|
endif
|
|
|
|
if ARCH_MULTI_V7
|
|
|
|
comment "i.MX51 machines:"
|
|
|
|
config MACH_IMX51_DT
|
|
bool "Support i.MX51 platforms from device tree"
|
|
select SOC_IMX51
|
|
help
|
|
Include support for Freescale i.MX51 based platforms
|
|
using the device tree for discovery
|
|
|
|
config MACH_MX51_BABBAGE
|
|
bool "Support MX51 BABBAGE platforms"
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
select SOC_IMX51
|
|
help
|
|
Include support for MX51 Babbage platform, also known as MX51EVK in
|
|
u-boot. This includes specific configurations for the board and its
|
|
peripherals.
|
|
|
|
config MACH_EUKREA_CPUIMX51SD
|
|
bool "Support Eukrea CPUIMX51SD module"
|
|
select IMX_HAVE_PLATFORM_FSL_USB2_UDC
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select IMX_HAVE_PLATFORM_IMX_I2C
|
|
select IMX_HAVE_PLATFORM_IMX_UART
|
|
select IMX_HAVE_PLATFORM_MXC_EHCI
|
|
select IMX_HAVE_PLATFORM_MXC_NAND
|
|
select IMX_HAVE_PLATFORM_SPI_IMX
|
|
select SOC_IMX51
|
|
help
|
|
Include support for Eukrea CPUIMX51SD platform. This includes
|
|
specific configurations for the module and its peripherals.
|
|
|
|
choice
|
|
prompt "Baseboard"
|
|
depends on MACH_EUKREA_CPUIMX51SD
|
|
default MACH_EUKREA_MBIMXSD51_BASEBOARD
|
|
|
|
config MACH_EUKREA_MBIMXSD51_BASEBOARD
|
|
prompt "Eukrea MBIMXSD development board"
|
|
bool
|
|
select IMX_HAVE_PLATFORM_IMX_SSI
|
|
select IMX_HAVE_PLATFORM_SDHCI_ESDHC_IMX
|
|
select LEDS_GPIO_REGISTER
|
|
help
|
|
This adds board specific devices that can be found on Eukrea's
|
|
MBIMXSD evaluation board.
|
|
|
|
endchoice
|
|
|
|
comment "Device tree only"
|
|
|
|
config SOC_IMX53
|
|
bool "i.MX53 support"
|
|
select ARCH_MX5
|
|
select ARCH_MX53
|
|
select HAVE_CAN_FLEXCAN if CAN
|
|
select IMX_HAVE_PLATFORM_IMX2_WDT
|
|
select PINCTRL
|
|
select PINCTRL_IMX53
|
|
select SOC_IMX5
|
|
|
|
help
|
|
This enables support for Freescale i.MX53 processor.
|
|
|
|
config SOC_IMX6Q
|
|
bool "i.MX6 Quad support"
|
|
select ARCH_HAS_CPUFREQ
|
|
select ARCH_HAS_OPP
|
|
select ARM_CPU_SUSPEND if PM
|
|
select ARM_ERRATA_754322
|
|
select ARM_ERRATA_764369 if SMP
|
|
select ARM_ERRATA_775420
|
|
select ARM_GIC
|
|
select COMMON_CLK
|
|
select CPU_V7
|
|
select HAVE_ARM_SCU
|
|
select HAVE_CAN_FLEXCAN if CAN
|
|
select HAVE_IMX_GPC
|
|
select HAVE_IMX_MMDC
|
|
select HAVE_IMX_SRC
|
|
select HAVE_SMP
|
|
select MFD_SYSCON
|
|
select PINCTRL
|
|
select PINCTRL_IMX6Q
|
|
select PL310_ERRATA_588369 if CACHE_PL310
|
|
select PL310_ERRATA_727915 if CACHE_PL310
|
|
select PL310_ERRATA_769419 if CACHE_PL310
|
|
select PM_OPP if PM
|
|
|
|
help
|
|
This enables support for Freescale i.MX6 Quad processor.
|
|
|
|
endif
|
|
|
|
source "arch/arm/mach-imx/devices/Kconfig"
|
|
|
|
endmenu
|