mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
68a2f7301a
Add IRAM(Internal RAM) allocation functions using GENERIC_ALLOCATOR. The allocation size is 4KB multiples to guarantee alignment. The idea for these functions is for i.MX platforms to use them to dynamically allocate IRAM usage. Applies on 2.6.36-rc7 Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com> Reviewed-by: Amit Kucheria <amit.kucheria@canonical.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
130 lines
3.0 KiB
Plaintext
130 lines
3.0 KiB
Plaintext
if ARCH_MXC
|
|
|
|
source "arch/arm/plat-mxc/devices/Kconfig"
|
|
|
|
menu "Freescale MXC Implementations"
|
|
|
|
choice
|
|
prompt "Freescale CPU family:"
|
|
default ARCH_MX3
|
|
|
|
config ARCH_MX1
|
|
bool "MX1-based"
|
|
select SOC_IMX1
|
|
help
|
|
This enables support for systems based on the Freescale i.MX1 family
|
|
|
|
config ARCH_MX2
|
|
bool "MX2-based"
|
|
help
|
|
This enables support for systems based on the Freescale i.MX2 family
|
|
|
|
config ARCH_MX25
|
|
bool "MX25-based"
|
|
select CPU_ARM926T
|
|
select ARCH_MXC_IOMUX_V3
|
|
select HAVE_FB_IMX
|
|
select ARCH_MXC_AUDMUX_V2
|
|
help
|
|
This enables support for systems based on the Freescale i.MX25 family
|
|
|
|
config ARCH_MX3
|
|
bool "MX3-based"
|
|
select CPU_V6
|
|
help
|
|
This enables support for systems based on the Freescale i.MX3 family
|
|
|
|
config ARCH_MXC91231
|
|
bool "MXC91231-based"
|
|
select CPU_V6
|
|
help
|
|
This enables support for systems based on the Freescale MXC91231 family
|
|
|
|
config ARCH_MX5
|
|
bool "MX5-based"
|
|
select CPU_V7
|
|
select ARM_L1_CACHE_SHIFT_6
|
|
help
|
|
This enables support for systems based on the Freescale i.MX51 family
|
|
|
|
endchoice
|
|
|
|
source "arch/arm/mach-imx/Kconfig"
|
|
source "arch/arm/mach-mx3/Kconfig"
|
|
source "arch/arm/mach-mx25/Kconfig"
|
|
source "arch/arm/mach-mxc91231/Kconfig"
|
|
source "arch/arm/mach-mx5/Kconfig"
|
|
|
|
endmenu
|
|
|
|
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 "Enable TrustZone Interrupt Controller"
|
|
depends on ARCH_MX51
|
|
help
|
|
This will be automatically selected for all processors
|
|
containing this interrupt controller.
|
|
Say N here only if you are really sure.
|
|
|
|
config MXC_PWM
|
|
tristate "Enable PWM driver"
|
|
select HAVE_PWM
|
|
help
|
|
Enable support for the i.MX PWM controller(s).
|
|
|
|
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 IMX_HAVE_IOMUX_V1
|
|
bool
|
|
|
|
config ARCH_MXC_IOMUX_V3
|
|
bool
|
|
|
|
config ARCH_MXC_AUDMUX_V1
|
|
bool
|
|
|
|
config ARCH_MXC_AUDMUX_V2
|
|
bool
|
|
|
|
config IRAM_ALLOC
|
|
bool
|
|
select GENERIC_ALLOCATOR
|
|
|
|
endif
|