[PATCH] ARM: OMAP: Make McBSP KConfigurable.

Komal Shah
2006-06-13T15:17:36Z

[-- Attachment #1: Type: text/plain, Size: 140 bytes --]

Make default selecton to "yes" for McBSP.

--
http://www.fastmail.fm - One of many happy users:
http://www.fastmail.fm/docs/quotes.html

[-- Attachment #2: 0001-ARM-OMAP-Make-McBSP-KConfigurable.patch --]
[-- Type: application/octet-stream, Size: 1655 bytes --]

From nobody Mon Sep 17 00:00:00 2001
From: Komal Shah <komal_shah802003@yahoo.com>
Date: Tue, 13 Jun 2006 22:49:14 +0530
Subject: [PATCH] ARM: OMAP: Make McBSP KConfigurable.

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>

---

arch/arm/plat-omap/Kconfig | 8 ++++++++
arch/arm/plat-omap/Makefile | 4 +++-
2 files changed, 11 insertions(+), 1 deletions(-)

b95dbc14f9821e33b7cda0e1cafc6912c8aca9cf
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index 8acdeb7..75f1494 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -101,6 +101,14 @@ config OMAP_STI_CONSOLE
help
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
prompt "System timer"
default OMAP_MPU_TIMER
diff --git a/arch/arm/plat-omap/Makefile b/arch/arm/plat-omap/Makefile
index 34ba8fd..fdfdecb 100644
--- a/arch/arm/plat-omap/Makefile
+++ b/arch/arm/plat-omap/Makefile
@@ -3,7 +3,7 @@ # Makefile for the linux kernel.
#

# 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 usb.o fb.o
obj-m :=
obj-n :=
obj- :=
@@ -16,6 +16,8 @@ obj-$(CONFIG_ARCH_OMAP16XX) += ocpi.o
# STI support
obj-$(CONFIG_OMAP_STI) += sti/

+obj-$(CONFIG_OMAP_MCBSP) += mcbsp.o
+
obj-$(CONFIG_CPU_FREQ) += cpu-omap.o
obj-$(CONFIG_OMAP_DM_TIMER) += dmtimer.o
obj-$(CONFIG_OMAP_BOOT_REASON) += bootreason.o
--
1.3.3