* [PATCH] arm mach-at91 use choice keyword for board type selection in Kconfig
@ 2010-09-02 20:46 ` Paul Chavent
0 siblings, 0 replies; 4+ messages in thread
From: Paul Chavent @ 2010-09-02 20:46 UTC (permalink / raw)
Cc: linux-kernel, linux-arm-kernel, costa.antonior, plagnioj,
nicolas.ferre, linux, linux
[-- Attachment #1: Type: text/plain, Size: 188 bytes --]
It seems that we can select more than one board for one kernel.
This patch use a choice keyword for board type selection in Kconfig.
Signed-off-by: Paul Chavent <paul.chavent@fnac.net>
[-- Attachment #2: linux-2.6.35.4-arm_at91_board_choice.patch --]
[-- Type: text/plain, Size: 4563 bytes --]
diff -abBruN linux-2.6.35.4.orig/arch/arm/mach-at91/Kconfig linux-2.6.35.4.mod/arch/arm/mach-at91/Kconfig
--- linux-2.6.35.4.orig/arch/arm/mach-at91/Kconfig 2010-09-02 17:35:13.009000142 +0200
+++ linux-2.6.35.4.mod/arch/arm/mach-at91/Kconfig 2010-09-02 18:58:53.723000246 +0200
@@ -99,7 +99,8 @@
if ARCH_AT91RM9200
-comment "AT91RM9200 Board Type"
+choice
+ prompt "AT91RM9200 Board Type"
config MACH_ONEARM
bool "Ajeco 1ARM Single Board Computer"
@@ -185,6 +186,8 @@
help
Select this if you are using the eco920 board
+endchoice
+
endif
# ----------------------------------------------------------
@@ -199,7 +202,8 @@
Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
They are basically AT91SAM9260s with various sizes of embedded Flash.
-comment "AT91SAM9260 / AT91SAM9XE Board Type"
+choice
+ prompt "AT91SAM9260 / AT91SAM9XE Board Type"
config MACH_AT91SAM9260EK
bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
@@ -248,13 +252,16 @@
Select this if you are using a Eukrea Electromatique's
CPU9260 Board <http://www.eukrea.com/>
+endchoice
+
endif
# ----------------------------------------------------------
if ARCH_AT91SAM9261
-comment "AT91SAM9261 Board Type"
+choice
+ prompt "AT91SAM9261 Board Type"
config MACH_AT91SAM9261EK
bool "Atmel AT91SAM9261-EK Evaluation Kit"
@@ -264,13 +271,16 @@
Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
<http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
+endchoice
+
endif
# ----------------------------------------------------------
if ARCH_AT91SAM9G10
-comment "AT91SAM9G10 Board Type"
+choice
+ prompt "AT91SAM9G10 Board Type"
config MACH_AT91SAM9G10EK
bool "Atmel AT91SAM9G10-EK Evaluation Kit"
@@ -280,13 +290,16 @@
Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
<http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>
+endchoice
+
endif
# ----------------------------------------------------------
if ARCH_AT91SAM9263
-comment "AT91SAM9263 Board Type"
+choice
+ prompt "AT91SAM9263 Board Type"
config MACH_AT91SAM9263EK
bool "Atmel AT91SAM9263-EK Evaluation Kit"
@@ -308,26 +321,32 @@
help
Select this if you are using the Adeneo Neocore 926 board.
+endchoice
+
endif
# ----------------------------------------------------------
if ARCH_AT91SAM9RL
-comment "AT91SAM9RL Board Type"
+choice
+ prompt "AT91SAM9RL Board Type"
config MACH_AT91SAM9RLEK
bool "Atmel AT91SAM9RL-EK Evaluation Kit"
help
Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
+endchoice
+
endif
# ----------------------------------------------------------
if ARCH_AT91SAM9G20
-comment "AT91SAM9G20 Board Type"
+choice
+ prompt "AT91SAM9G20 Board Type"
config MACH_AT91SAM9G20EK
bool "Atmel AT91SAM9G20-EK Evaluation Kit"
@@ -364,13 +383,16 @@
evaluation board.
<http://www.taskit.de/en/>
+endchoice
+
endif
# ----------------------------------------------------------
if ARCH_AT91SAM9G45
-comment "AT91SAM9G45 Board Type"
+choice
+ prompt "AT91SAM9G45 Board Type"
config MACH_AT91SAM9G45EKES
bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
@@ -380,13 +402,16 @@
"ES" at the end of the name means that this board is an
Engineering Sample.
+endchoice
+
endif
# ----------------------------------------------------------
if ARCH_AT91CAP9
-comment "AT91CAP9 Board Type"
+choice
+ prompt "AT91CAP9 Board Type"
config MACH_AT91CAP9ADK
bool "Atmel AT91CAP9A-DK Evaluation Kit"
@@ -396,13 +421,16 @@
Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
<http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
+endchoice
+
endif
# ----------------------------------------------------------
if ARCH_AT572D940HF
-comment "AT572D940HF Board Type"
+choice
+ prompt "AT572D940HF Board Type"
config MACH_AT572D940HFEB
bool "AT572D940HF-EK"
@@ -413,13 +441,16 @@
Select this if you are using Atmel's AT572D940HF-EK evaluation kit.
<http://www.atmel.com/products/diopsis/default.asp>
+endchoice
+
endif
# ----------------------------------------------------------
if ARCH_AT91X40
-comment "AT91X40 Board Type"
+choice
+ prompt "AT91X40 Board Type"
config MACH_AT91EB01
bool "Atmel AT91EB01 Evaluation Kit"
@@ -429,6 +460,8 @@
ARM simulator (commonly known as the ARMulator) and the
Skyeye simulator.
+endchoice
+
endif
# ----------------------------------------------------------
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] arm mach-at91 use choice keyword for board type selection in Kconfig
@ 2010-09-02 20:46 ` Paul Chavent
0 siblings, 0 replies; 4+ messages in thread
From: Paul Chavent @ 2010-09-02 20:46 UTC (permalink / raw)
To: linux-arm-kernel
It seems that we can select more than one board for one kernel.
This patch use a choice keyword for board type selection in Kconfig.
Signed-off-by: Paul Chavent <paul.chavent@fnac.net>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: linux-2.6.35.4-arm_at91_board_choice.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100902/c023fe71/attachment.ksh>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] arm mach-at91 use choice keyword for board type selection in Kconfig
2010-09-02 20:46 ` Paul Chavent
@ 2010-09-02 22:40 ` Jean-Christophe PLAGNIOL-VILLARD
-1 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2010-09-02 22:40 UTC (permalink / raw)
To: Paul Chavent
Cc: linux-kernel, linux-arm-kernel, costa.antonior, nicolas.ferre,
linux, linux
On 22:46 Thu 02 Sep , Paul Chavent wrote:
> It seems that we can select more than one board for one kernel.
>
> This patch use a choice keyword for board type selection in Kconfig.
NACK
we do want to be able to compile mutliple board in the same kernel
and select it at runtime by the bootloader
Best Regards,
J.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] arm mach-at91 use choice keyword for board type selection in Kconfig
@ 2010-09-02 22:40 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 4+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2010-09-02 22:40 UTC (permalink / raw)
To: linux-arm-kernel
On 22:46 Thu 02 Sep , Paul Chavent wrote:
> It seems that we can select more than one board for one kernel.
>
> This patch use a choice keyword for board type selection in Kconfig.
NACK
we do want to be able to compile mutliple board in the same kernel
and select it at runtime by the bootloader
Best Regards,
J.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-02 22:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-02 20:46 [PATCH] arm mach-at91 use choice keyword for board type selection in Kconfig Paul Chavent
2010-09-02 20:46 ` Paul Chavent
2010-09-02 22:40 ` Jean-Christophe PLAGNIOL-VILLARD
2010-09-02 22:40 ` Jean-Christophe PLAGNIOL-VILLARD
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.