mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 16:53:54 +08:00
a1eacd79a6
Use gpio_led_register_device to register the two leds connected to the ep93xx. Since this is a common feature for all ep93xx based boards, create a new Kconfig option, EP93XX_SOC_COMMON, to select the LEDS_GPIO_REGISTER feature. The struct gpio_led and struct gpio_led_platform_data variables have been changed to const struct because of: commit9517f925f2
leds: make *struct gpio_led_platform_data.leds const They have also been marked as __initconst because the helper function gpio_led_register_device makes a deep copy of the platform data to allow it to live in init memory: commit4440673a95
leds: provide helper to register "leds-gpio" devices Signed-off-by: Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Ryan Mallon <rmallon@gmail.com>
214 lines
5.2 KiB
Plaintext
214 lines
5.2 KiB
Plaintext
if ARCH_EP93XX
|
|
|
|
menu "Cirrus EP93xx Implementation Options"
|
|
|
|
config EP93XX_SOC_COMMON
|
|
bool
|
|
default y
|
|
select LEDS_GPIO_REGISTER
|
|
|
|
config CRUNCH
|
|
bool "Support for MaverickCrunch"
|
|
help
|
|
Enable kernel support for MaverickCrunch.
|
|
|
|
comment "EP93xx Platforms"
|
|
|
|
choice
|
|
prompt "EP93xx first SDRAM bank selection"
|
|
default EP93XX_SDCE3_SYNC_PHYS_OFFSET
|
|
|
|
config EP93XX_SDCE3_SYNC_PHYS_OFFSET
|
|
bool "0x00000000 - SDCE3/SyncBoot"
|
|
help
|
|
Select this option if you want support for EP93xx boards with the
|
|
first SDRAM bank at 0x00000000.
|
|
|
|
config EP93XX_SDCE0_PHYS_OFFSET
|
|
bool "0xc0000000 - SDCEO"
|
|
help
|
|
Select this option if you want support for EP93xx boards with the
|
|
first SDRAM bank at 0xc0000000.
|
|
|
|
config EP93XX_SDCE1_PHYS_OFFSET
|
|
bool "0xd0000000 - SDCE1"
|
|
help
|
|
Select this option if you want support for EP93xx boards with the
|
|
first SDRAM bank at 0xd0000000.
|
|
|
|
config EP93XX_SDCE2_PHYS_OFFSET
|
|
bool "0xe0000000 - SDCE2"
|
|
help
|
|
Select this option if you want support for EP93xx boards with the
|
|
first SDRAM bank at 0xe0000000.
|
|
|
|
config EP93XX_SDCE3_ASYNC_PHYS_OFFSET
|
|
bool "0xf0000000 - SDCE3/AsyncBoot"
|
|
help
|
|
Select this option if you want support for EP93xx boards with the
|
|
first SDRAM bank at 0xf0000000.
|
|
|
|
endchoice
|
|
|
|
config MACH_ADSSPHERE
|
|
bool "Support ADS Sphere"
|
|
depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET
|
|
help
|
|
Say 'Y' here if you want your kernel to support the ADS
|
|
Sphere board.
|
|
|
|
config MACH_EDB93XX
|
|
bool
|
|
|
|
config MACH_EDB9301
|
|
bool "Support Cirrus Logic EDB9301"
|
|
depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET
|
|
select MACH_EDB93XX
|
|
help
|
|
Say 'Y' here if you want your kernel to support the Cirrus
|
|
Logic EDB9301 Evaluation Board.
|
|
|
|
config MACH_EDB9302
|
|
bool "Support Cirrus Logic EDB9302"
|
|
depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET
|
|
select MACH_EDB93XX
|
|
help
|
|
Say 'Y' here if you want your kernel to support the Cirrus
|
|
Logic EDB9302 Evaluation Board.
|
|
|
|
config MACH_EDB9302A
|
|
bool "Support Cirrus Logic EDB9302A"
|
|
depends on EP93XX_SDCE0_PHYS_OFFSET
|
|
select MACH_EDB93XX
|
|
help
|
|
Say 'Y' here if you want your kernel to support the Cirrus
|
|
Logic EDB9302A Evaluation Board.
|
|
|
|
config MACH_EDB9307
|
|
bool "Support Cirrus Logic EDB9307"
|
|
depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET
|
|
select MACH_EDB93XX
|
|
help
|
|
Say 'Y' here if you want your kernel to support the Cirrus
|
|
Logic EDB9307 Evaluation Board.
|
|
|
|
config MACH_EDB9307A
|
|
bool "Support Cirrus Logic EDB9307A"
|
|
depends on EP93XX_SDCE0_PHYS_OFFSET
|
|
select MACH_EDB93XX
|
|
help
|
|
Say 'Y' here if you want your kernel to support the Cirrus
|
|
Logic EDB9307A Evaluation Board.
|
|
|
|
config MACH_EDB9312
|
|
bool "Support Cirrus Logic EDB9312"
|
|
depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET
|
|
select MACH_EDB93XX
|
|
help
|
|
Say 'Y' here if you want your kernel to support the Cirrus
|
|
Logic EDB9312 Evaluation Board.
|
|
|
|
config MACH_EDB9315
|
|
bool "Support Cirrus Logic EDB9315"
|
|
depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET
|
|
select MACH_EDB93XX
|
|
help
|
|
Say 'Y' here if you want your kernel to support the Cirrus
|
|
Logic EDB9315 Evaluation Board.
|
|
|
|
config MACH_EDB9315A
|
|
bool "Support Cirrus Logic EDB9315A"
|
|
depends on EP93XX_SDCE0_PHYS_OFFSET
|
|
select MACH_EDB93XX
|
|
help
|
|
Say 'Y' here if you want your kernel to support the Cirrus
|
|
Logic EDB9315A Evaluation Board.
|
|
|
|
config MACH_GESBC9312
|
|
depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET
|
|
bool "Support Glomation GESBC-9312-sx"
|
|
help
|
|
Say 'Y' here if you want your kernel to support the Glomation
|
|
GESBC-9312-sx board.
|
|
|
|
config MACH_MICRO9
|
|
bool
|
|
|
|
config MACH_MICRO9H
|
|
bool "Support Contec Micro9-High"
|
|
depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET
|
|
select MACH_MICRO9
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Contec Micro9-High board.
|
|
|
|
config MACH_MICRO9M
|
|
bool "Support Contec Micro9-Mid"
|
|
depends on EP93XX_SDCE3_ASYNC_PHYS_OFFSET
|
|
select MACH_MICRO9
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Contec Micro9-Mid board.
|
|
|
|
config MACH_MICRO9L
|
|
bool "Support Contec Micro9-Lite"
|
|
depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET
|
|
select MACH_MICRO9
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Contec Micro9-Lite board.
|
|
|
|
config MACH_MICRO9S
|
|
bool "Support Contec Micro9-Slim"
|
|
depends on EP93XX_SDCE3_ASYNC_PHYS_OFFSET
|
|
select MACH_MICRO9
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Contec Micro9-Slim board.
|
|
|
|
config MACH_SIM_ONE
|
|
bool "Support Simplemachines Sim.One board"
|
|
depends on EP93XX_SDCE0_PHYS_OFFSET
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Simplemachines Sim.One board.
|
|
|
|
config MACH_SNAPPER_CL15
|
|
bool "Support Bluewater Systems Snapper CL15 Module"
|
|
depends on EP93XX_SDCE0_PHYS_OFFSET
|
|
help
|
|
Say 'Y' here if you want your kernel to support the Bluewater
|
|
Systems Snapper CL15 Module.
|
|
|
|
config MACH_TS72XX
|
|
bool "Support Technologic Systems TS-72xx SBC"
|
|
depends on EP93XX_SDCE3_SYNC_PHYS_OFFSET
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Technologic Systems TS-72xx board.
|
|
|
|
config MACH_VISION_EP9307
|
|
bool "Support Vision Engraving Systems EP9307 SoM"
|
|
depends on EP93XX_SDCE0_PHYS_OFFSET
|
|
help
|
|
Say 'Y' here if you want your kernel to support the
|
|
Vision Engraving Systems EP9307 SoM.
|
|
|
|
choice
|
|
prompt "Select a UART for early kernel messages"
|
|
|
|
config EP93XX_EARLY_UART1
|
|
bool "UART1"
|
|
|
|
config EP93XX_EARLY_UART2
|
|
bool "UART2"
|
|
|
|
config EP93XX_EARLY_UART3
|
|
bool "UART3"
|
|
|
|
endchoice
|
|
|
|
endmenu
|
|
|
|
endif
|