ca90666287
* 'gpio' of http://ftp.arm.linux.org.uk/pub/linux/arm/kernel/git-cur/linux-2.6-arm: (43 commits) ARM: 7135/1: ep93xx: bring back missing <mach/gpio.h> ARM: 7104/1: plat-pxa: break out GPIO driver specifics ARM: 7103/1: plat-pxa: move PXA GPIO driver to GPIO subsystem ARM: 7042/3: mach-ep93xx: break out GPIO driver specifics ARM: 7101/1: arm/tegra: Replace <mach/gpio.h> with <mach/gpio-tegra.h> ARM: 7094/1: arm/tegra: Move EN_VDD_1V05_GPIO to board-harmony.h ARM: 7083/1: rewrite U300 GPIO to use gpiolib ARM: 7074/1: gpio: davinci: eliminate unused variable warnings ARM: 7063/1: Orion: gpio: add missing include of linux/types.h ARM: 7055/1: arm/tegra: mach/gpio.h: include linux/types.h to fix build ARM: 7054/1: arm/tegra: Delete custom gpio_to_irq, and irq_to_gpio ARM: 7053/1: gpio/tegra: Implement gpio_chip.to_irq ARM: 7052/1: gpio/tegra: Remove use of irq_to_gpio ARM: 7057/1: mach-pnx4008: rename GPIO header ARM: 7056/1: plat-nomadik: kill off <plat/gpio.h> ARM: 7050/1: mach-sa1100: delete irq_to_gpio() function ARM: 7049/1: mach-sa1100: move SA1100 GPIO driver to GPIO subsystem ARM: 7045/1: mach-lpc32xx: break out GPIO driver specifics ARM: 7044/1: mach-lpc32xx: move LPC32XX GPIO driver to GPIO subsystem ARM: 7043/1: mach-ixp2000: rename GPIO header ... Fix up trivial conflicts in arch/arm/mach-u300/Kconfig manually
120 lines
2.9 KiB
Text
120 lines
2.9 KiB
Text
if ARCH_U300
|
|
|
|
menu "ST-Ericsson AB U300/U330/U335/U365 Platform"
|
|
|
|
comment "ST-Ericsson Mobile Platform Products"
|
|
|
|
config MACH_U300
|
|
bool "U300"
|
|
select PINCTRL
|
|
select PINMUX_U300
|
|
select GPIO_U300
|
|
|
|
comment "ST-Ericsson U300/U330/U335/U365 Feature Selections"
|
|
|
|
choice
|
|
prompt "U300/U330/U335/U365 system type"
|
|
default MACH_U300_BS2X
|
|
---help---
|
|
You need to select the target system, i.e. the
|
|
U300/U330/U335/U365 board that you want to compile your kernel
|
|
for.
|
|
|
|
config MACH_U300_BS2X
|
|
bool "S26/S26/B25/B26 Test Products"
|
|
depends on MACH_U300
|
|
help
|
|
Select this if you're developing on the
|
|
S26/S25 test products. (Also works on
|
|
B26/B25 big boards.)
|
|
|
|
config MACH_U300_BS330
|
|
bool "S330/B330 Test Products"
|
|
depends on MACH_U300
|
|
help
|
|
Select this if you're developing on the
|
|
S330/B330 test products.
|
|
|
|
config MACH_U300_BS335
|
|
bool "S335/B335 Test Products"
|
|
depends on MACH_U300
|
|
help
|
|
Select this if you're developing on the
|
|
S335/B335 test products.
|
|
|
|
config MACH_U300_BS365
|
|
bool "S365/B365 Test Products"
|
|
depends on MACH_U300
|
|
help
|
|
Select this if you're developing on the
|
|
S365/B365 test products.
|
|
|
|
endchoice
|
|
|
|
choice
|
|
prompt "Memory configuration"
|
|
default MACH_U300_SINGLE_RAM
|
|
---help---
|
|
You have to config the kernel according to the physical memory
|
|
configuration.
|
|
|
|
config MACH_U300_SINGLE_RAM
|
|
bool "Single RAM"
|
|
help
|
|
Select this if you want support for Single RAM phones.
|
|
|
|
config MACH_U300_DUAL_RAM
|
|
bool "Dual RAM"
|
|
help
|
|
Select this if you want support for Dual RAM phones.
|
|
This is two RAM memories on different EMIFs.
|
|
endchoice
|
|
|
|
config U300_DEBUG
|
|
bool "Debug support for U300"
|
|
depends on PM
|
|
help
|
|
Debug support for U300 in sysfs, procfs etc.
|
|
|
|
config MACH_U300_SEMI_IS_SHARED
|
|
bool "The SEMI is used by both the access and application side"
|
|
depends on MACH_U300
|
|
help
|
|
This makes it possible to use the SEMI (Shared External
|
|
Memory Interface) from both from access and application
|
|
side.
|
|
|
|
config MACH_U300_SPIDUMMY
|
|
bool "SSP/SPI dummy chip"
|
|
select SPI
|
|
select SPI_MASTER
|
|
select SPI_PL022
|
|
help
|
|
This creates a small kernel module that creates a dummy
|
|
SPI device to be used for loopback tests. Regularly used
|
|
to test reference designs. If you're not testing SPI,
|
|
you don't need it. Selecting this will activate the
|
|
SPI framework and ARM PL022 support.
|
|
|
|
comment "All the settings below must match the bootloader's settings"
|
|
|
|
config MACH_U300_ACCESS_MEM_SIZE
|
|
int "Access CPU memory allocation"
|
|
range 7 25
|
|
depends on MACH_U300_SINGLE_RAM
|
|
default 13
|
|
help
|
|
How much memory in MiB that the Access side CPU has allocated
|
|
|
|
config MACH_U300_2MB_ALIGNMENT_FIX
|
|
bool "2MiB alignment fix"
|
|
depends on MACH_U300_SINGLE_RAM
|
|
default y
|
|
help
|
|
If yes and the Access side CPU has allocated an odd size in
|
|
MiB, this fix gives you one MiB extra that would otherwise be
|
|
lost due to Linux 2 MiB alignment policy.
|
|
|
|
endmenu
|
|
|
|
endif
|