4ecea3c51b
This patch fixes the currently broken Kconfig for west bridge by introducing a dependency on a valid HAL Layer for the driver build. Signed-off-by: David Cross <david.cross@cypress.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
54 lines
1.2 KiB
Plaintext
54 lines
1.2 KiB
Plaintext
#
|
|
# West Bridge configuration
|
|
#
|
|
|
|
menuconfig WESTBRIDGE
|
|
tristate "West Bridge support"
|
|
depends on WESTBRIDGE_HAL_SELECTED
|
|
help
|
|
This selects West Bridge Peripheral controller support.
|
|
|
|
If you want West Bridge support, you should say Y here.
|
|
|
|
menuconfig WESTBRIDGE_ASTORIA
|
|
bool "West Bridge Astoria support"
|
|
depends on WESTBRIDGE != n && WESTBRIDGE_HAL_SELECTED
|
|
help
|
|
This option enables support for West Bridge Astoria
|
|
|
|
if WESTBRIDGE_ASTORIA
|
|
source "drivers/staging/westbridge/astoria/Kconfig"
|
|
endif #WESTBRIDGE_ASTORIA
|
|
|
|
config WESTBRIDGE_HAL_SELECTED
|
|
boolean
|
|
|
|
choice
|
|
prompt "West Bridge HAL"
|
|
help
|
|
West Bridge HAL/processor interface to be used
|
|
|
|
#
|
|
# HAL Layers
|
|
#
|
|
|
|
config MACH_OMAP3_WESTBRIDGE_AST_PNAND_HAL
|
|
bool "WESTBRIDGE OMAP3430 Astoria PNAND HAL"
|
|
depends on ARCH_OMAP3
|
|
select WESTBRIDGE_HAL_SELECTED
|
|
help
|
|
Include the OMAP3430 HAL for PNAND interface
|
|
|
|
config MACH_NO_WESTBRIDGE
|
|
bool "no West Bridge HAL selected"
|
|
help
|
|
Do not include any HAL layer(de-activates West Bridge option)
|
|
endchoice
|
|
|
|
config WESTBRIDGE_DEBUG
|
|
bool "West Bridge debugging"
|
|
depends on WESTBRIDGE != n
|
|
help
|
|
This is an option for use by developers; most people should
|
|
say N here. This enables WESTBRIDGE core and driver debugging.
|