public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: Make McBSP KConfigurable
@ 2006-05-17 10:30 Komal Shah
  0 siblings, 0 replies; 6+ messages in thread
From: Komal Shah @ 2006-05-17 10:30 UTC (permalink / raw)
  To: linux-omap-open-source

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

---Komal Shah
http://komalshah.blogspot.com

-- 
http://www.fastmail.fm - And now for something completely different…


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

From nobody Mon Sep 17 00:00:00 2001
From: Komal Shah <komal_shah802003@yahoo.com>
Date: Wed, 17 May 2006 14:31:38 +0530
Subject: [PATCH] ARM: OMAP: Make McBSP KConfigurable.

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

---

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

44631281d9bbbe0bca23f1fdc0991f2711b6ca5b
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index 28ca5ad..f4cbf7f 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -102,6 +102,13 @@ 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
+	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.2.gde1d


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] ARM: OMAP: Make McBSP KConfigurable.
@ 2006-06-13 11:01 Komal Shah
  2006-06-13 11:17 ` Jonathan McDowell
  0 siblings, 1 reply; 6+ messages in thread
From: Komal Shah @ 2006-06-13 11:01 UTC (permalink / raw)
  To: linux-omap-open-source

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

Please take the rebased patch, some boards do not use McBSP :)

Earlier pending version:
http://linux.omap.com/pipermail/linux-omap-open-source/2006-May/007184.html

-- 
http://www.fastmail.fm - Faster than the air-speed velocity of an
                          unladen european swallow


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

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

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

---

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

a8b22ffbd479ade9bfcd5fcad6b1bb9d3b80cda5
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index 8acdeb7..0cfa2a3 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -101,6 +101,13 @@ 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
+	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


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: OMAP: Make McBSP KConfigurable.
  2006-06-13 11:01 [PATCH] ARM: OMAP: Make McBSP KConfigurable Komal Shah
@ 2006-06-13 11:17 ` Jonathan McDowell
  2006-06-13 12:20   ` Komal Shah
  0 siblings, 1 reply; 6+ messages in thread
From: Jonathan McDowell @ 2006-06-13 11:17 UTC (permalink / raw)
  To: linux-omap-open-source

On Tue, Jun 13, 2006 at 04:01:19AM -0700, Komal Shah wrote:
> Please take the rebased patch, some boards do not use McBSP :)

Shouldn't the Kconfig option default to y rather than breaking all the
boards that do currently use it?

J.

-- 
Programmer, |   "Do NOT disturb. (f**king)" --   | Tel/SMS (Vodafone):
sysadmin &  |     Note on Mike's room door.      |   +44-7974-678646
BHMF.       |                                    |  Made by HuggieTag

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: OMAP: Make McBSP KConfigurable.
  2006-06-13 11:17 ` Jonathan McDowell
@ 2006-06-13 12:20   ` Komal Shah
  0 siblings, 0 replies; 6+ messages in thread
From: Komal Shah @ 2006-06-13 12:20 UTC (permalink / raw)
  To: Jonathan McDowell, linux-omap-open-source

--- Jonathan McDowell <noodles@earth.li> wrote:

> On Tue, Jun 13, 2006 at 04:01:19AM -0700, Komal Shah wrote:
> > Please take the rebased patch, some boards do not use McBSP :)
> 
> Shouldn't the Kconfig option default to y rather than breaking all
> the
> boards that do currently use it?

Correct. I will submit the new patch soon.

---Komal Shah
http://komalshah.blogspot.com/

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: OMAP: Make McBSP KConfigurable.
@ 2006-06-13 15:17 Komal Shah
  2006-08-11 10:11 ` Tony Lindgren
  0 siblings, 1 reply; 6+ messages in thread
From: Komal Shah @ 2006-06-13 15:17 UTC (permalink / raw)
  To: linux-omap-open-source

[-- 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


[-- Attachment #3: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] ARM: OMAP: Make McBSP KConfigurable.
  2006-06-13 15:17 Komal Shah
@ 2006-08-11 10:11 ` Tony Lindgren
  0 siblings, 0 replies; 6+ messages in thread
From: Tony Lindgren @ 2006-08-11 10:11 UTC (permalink / raw)
  To: Komal Shah; +Cc: linux-omap-open-source

* Komal Shah <komal_shah802003@yahoo.com> [060613 18:19]:
> Make default selecton to "yes" for McBSP.

Looks like a similar patch was already pushed.

BTW, we should get the McBSP config from board-*.c files to avoid
having a Kconfig option that can potentially cause problems on some
boards.

Tony

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-08-11 10:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-13 11:01 [PATCH] ARM: OMAP: Make McBSP KConfigurable Komal Shah
2006-06-13 11:17 ` Jonathan McDowell
2006-06-13 12:20   ` Komal Shah
  -- strict thread matches above, loose matches on Subject: below --
2006-06-13 15:17 Komal Shah
2006-08-11 10:11 ` Tony Lindgren
2006-05-17 10:30 Komal Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox