Commit 246e7893 authored by Imre Deak's avatar Imre Deak Committed by Juha Yrjola

ARM: OMAP: make McBSP support a Kconfig option

Signed-off-by: default avatarImre Deak <imre.deak@solidboot.com>
Signed-off-by: default avatarJuha Yrjola <juha.yrjola@solidboot.com>
parent dc695536
...@@ -22,6 +22,7 @@ comment "OMAP Board Type" ...@@ -22,6 +22,7 @@ comment "OMAP Board Type"
config MACH_OMAP_INNOVATOR config MACH_OMAP_INNOVATOR
bool "TI Innovator" bool "TI Innovator"
depends on ARCH_OMAP1 && (ARCH_OMAP15XX || ARCH_OMAP16XX) depends on ARCH_OMAP1 && (ARCH_OMAP15XX || ARCH_OMAP16XX)
select OMAP_MCBSP
help help
TI OMAP 1510 or 1610 Innovator board support. Say Y here if you TI OMAP 1510 or 1610 Innovator board support. Say Y here if you
have such a board. have such a board.
...@@ -29,6 +30,7 @@ config MACH_OMAP_INNOVATOR ...@@ -29,6 +30,7 @@ config MACH_OMAP_INNOVATOR
config MACH_OMAP_H2 config MACH_OMAP_H2
bool "TI H2 Support" bool "TI H2 Support"
depends on ARCH_OMAP1 && ARCH_OMAP16XX depends on ARCH_OMAP1 && ARCH_OMAP16XX
select OMAP_MCBSP
help help
TI OMAP 1610/1611B H2 board support. Say Y here if you have such TI OMAP 1610/1611B H2 board support. Say Y here if you have such
a board. a board.
...@@ -44,6 +46,7 @@ config MACH_OMAP_H3 ...@@ -44,6 +46,7 @@ config MACH_OMAP_H3
config MACH_OMAP_OSK config MACH_OMAP_OSK
bool "TI OSK Support" bool "TI OSK Support"
depends on ARCH_OMAP1 && ARCH_OMAP16XX depends on ARCH_OMAP1 && ARCH_OMAP16XX
select OMAP_MCBSP
help help
TI OMAP 5912 OSK (OMAP Starter Kit) board support. Say Y here TI OMAP 5912 OSK (OMAP Starter Kit) board support. Say Y here
if you have such a board. if you have such a board.
......
...@@ -101,6 +101,14 @@ config OMAP_STI_CONSOLE ...@@ -101,6 +101,14 @@ config OMAP_STI_CONSOLE
help help
This enables a console driver by way of STI/XTI. This enables a console driver by way of STI/XTI.
config OMAP_MCBSP
bool "McBSP support"
depends on ARCH_OMAP
default y
help
Say Y here if you want support for the OMAP Multichannel
Buffered Serial Port.
choice choice
prompt "System timer" prompt "System timer"
default OMAP_MPU_TIMER default OMAP_MPU_TIMER
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
# #
# Common support # Common support
obj-y := common.o sram.o sram-fn.o clock.o devices.o dma.o mux.o gpio.o mcbsp.o usb.o fb.o obj-y := common.o sram.o sram-fn.o clock.o devices.o dma.o mux.o gpio.o \
mcbsp.o usb.o fb.o
obj-m := obj-m :=
obj-n := obj-n :=
obj- := obj- :=
...@@ -16,6 +17,8 @@ obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o ...@@ -16,6 +17,8 @@ obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
# STI support # STI support
obj-$(CONFIG_OMAP_STI) += sti/ obj-$(CONFIG_OMAP_STI) += sti/
obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
obj-$(CONFIG_CPU_FREQ) += cpu-omap.o obj-$(CONFIG_CPU_FREQ) += cpu-omap.o
obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o
obj-$(CONFIG_OMAP_BOOT_REASON) += bootreason.o obj-$(CONFIG_OMAP_BOOT_REASON) += bootreason.o
......
...@@ -39,6 +39,7 @@ config SND_OMAP_AIC23 ...@@ -39,6 +39,7 @@ config SND_OMAP_AIC23
select SND_PCM select SND_PCM
select I2C select I2C
select I2C_OMAP if ARCH_OMAP select I2C_OMAP if ARCH_OMAP
select OMAP_MCBSP
select SENSORS_TLV320AIC23 select SENSORS_TLV320AIC23
help help
Say Y here if you have a OSK platform board Say Y here if you have a OSK platform board
...@@ -53,6 +54,7 @@ config SND_OMAP_TSC2101 ...@@ -53,6 +54,7 @@ config SND_OMAP_TSC2101
select SND_PCM select SND_PCM
select OMAP_TSC2101 select OMAP_TSC2101
select OMAP_UWIRE if ARCH_OMAP select OMAP_UWIRE if ARCH_OMAP
select OMAP_MCBSP
help help
Say Y here if you have a OMAP platform board Say Y here if you have a OMAP platform board
and want to use its TSC2101 audio chip. Driver has and want to use its TSC2101 audio chip. Driver has
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment