diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-11-15 07:49:44 -0500 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-11-15 07:49:44 -0500 |
commit | 4f25eb85d64640bc656e72917113a84701521b99 (patch) | |
tree | b02fc83a383930bc176355cbcbfea46d616cfe38 /arch/blackfin/mach-bf537 | |
parent | d07f4380313f3b15eb05797ddfb9a57419178846 (diff) |
Blackfin arch: split board selection off into mach subdirs
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/mach-bf537')
-rw-r--r-- | arch/blackfin/mach-bf537/Kconfig | 2 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/Kconfig | 29 | ||||
-rw-r--r-- | arch/blackfin/mach-bf537/boards/Makefile | 10 |
3 files changed, 36 insertions, 5 deletions
diff --git a/arch/blackfin/mach-bf537/Kconfig b/arch/blackfin/mach-bf537/Kconfig index e6648db09519..8255374c04aa 100644 --- a/arch/blackfin/mach-bf537/Kconfig +++ b/arch/blackfin/mach-bf537/Kconfig | |||
@@ -1,5 +1,7 @@ | |||
1 | if (BF537 || BF534 || BF536) | 1 | if (BF537 || BF534 || BF536) |
2 | 2 | ||
3 | source "arch/blackfin/mach-bf537/boards/Kconfig" | ||
4 | |||
3 | menu "BF537 Specific Configuration" | 5 | menu "BF537 Specific Configuration" |
4 | 6 | ||
5 | comment "Interrupt Priority Assignment" | 7 | comment "Interrupt Priority Assignment" |
diff --git a/arch/blackfin/mach-bf537/boards/Kconfig b/arch/blackfin/mach-bf537/boards/Kconfig new file mode 100644 index 000000000000..96a15196e416 --- /dev/null +++ b/arch/blackfin/mach-bf537/boards/Kconfig | |||
@@ -0,0 +1,29 @@ | |||
1 | choice | ||
2 | prompt "System type" | ||
3 | default BFIN537_STAMP | ||
4 | help | ||
5 | Select your board! | ||
6 | |||
7 | config BFIN537_STAMP | ||
8 | bool "BF537-STAMP" | ||
9 | help | ||
10 | BF537-STAMP board support. | ||
11 | |||
12 | config BFIN537_BLUETECHNIX_CM | ||
13 | bool "Bluetechnix CM-BF537" | ||
14 | depends on (BF537) | ||
15 | help | ||
16 | CM-BF537 support for EVAL- and DEV-Board. | ||
17 | |||
18 | config PNAV10 | ||
19 | bool "PNAV board" | ||
20 | depends on (BF537) | ||
21 | help | ||
22 | PNAV board support. | ||
23 | |||
24 | config GENERIC_BF537_BOARD | ||
25 | bool "Generic" | ||
26 | help | ||
27 | Generic or Custom board support. | ||
28 | |||
29 | endchoice | ||
diff --git a/arch/blackfin/mach-bf537/boards/Makefile b/arch/blackfin/mach-bf537/boards/Makefile index 23323cacc3aa..a5af7b5563e6 100644 --- a/arch/blackfin/mach-bf537/boards/Makefile +++ b/arch/blackfin/mach-bf537/boards/Makefile | |||
@@ -2,8 +2,8 @@ | |||
2 | # arch/blackfin/mach-bf537/boards/Makefile | 2 | # arch/blackfin/mach-bf537/boards/Makefile |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y += eth_mac.o | 5 | obj-y += eth_mac.o |
6 | obj-$(CONFIG_GENERIC_BOARD) += generic_board.o | 6 | obj-$(CONFIG_GENERIC_BF537_BOARD) += generic_board.o |
7 | obj-$(CONFIG_BFIN537_STAMP) += stamp.o led.o | 7 | obj-$(CONFIG_BFIN537_STAMP) += stamp.o led.o |
8 | obj-$(CONFIG_BFIN537_BLUETECHNIX_CM) += cm_bf537.o | 8 | obj-$(CONFIG_BFIN537_BLUETECHNIX_CM) += cm_bf537.o |
9 | obj-$(CONFIG_PNAV10) += pnav10.o | 9 | obj-$(CONFIG_PNAV10) += pnav10.o |