Skip to content

Commit

Permalink
Blackfin arch: split board selection off into mach subdirs
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Nov 15, 2007
1 parent d07f438 commit 4f25eb8
Show file tree
Hide file tree
Showing 16 changed files with 136 additions and 102 deletions.
89 changes: 0 additions & 89 deletions arch/blackfin/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -221,95 +221,6 @@ config BFIN_SINGLE_CORE
depends on !BFIN_DUAL_CORE
default y

choice
prompt "System type"
default BFIN533_STAMP
help
Do NOT change the board here. Please use the top level
configuration to ensure that all the other settings are
correct.

config BFIN527_EZKIT
bool "BF527-EZKIT"
depends on (BF522 || BF525 || BF527)
help
BF533-EZKIT-LITE board Support.

config BFIN533_EZKIT
bool "BF533-EZKIT"
depends on (BF533 || BF532 || BF531)
help
BF533-EZKIT-LITE board Support.

config BFIN533_STAMP
bool "BF533-STAMP"
depends on (BF533 || BF532 || BF531)
help
BF533-STAMP board Support.

config BFIN537_STAMP
bool "BF537-STAMP"
depends on (BF537 || BF536 || BF534)
help
BF537-STAMP board Support.

config BFIN533_BLUETECHNIX_CM
bool "Bluetechnix CM-BF533"
depends on (BF533)
help
CM-BF533 support for EVAL- and DEV-Board.

config BFIN537_BLUETECHNIX_CM
bool "Bluetechnix CM-BF537"
depends on (BF537)
help
CM-BF537 support for EVAL- and DEV-Board.

config BFIN548_EZKIT
bool "BF548-EZKIT"
depends on (BF548 || BF549)
help
BFIN548-EZKIT board Support.

config BFIN561_BLUETECHNIX_CM
bool "Bluetechnix CM-BF561"
depends on (BF561)
help
CM-BF561 support for EVAL- and DEV-Board.

config BFIN561_EZKIT
bool "BF561-EZKIT"
depends on (BF561)
help
BF561-EZKIT-LITE board Support.

config BFIN561_TEPLA
bool "BF561-TEPLA"
depends on (BF561)
help
BF561-TEPLA board Support.

config PNAV10
bool "PNAV 1.0 board"
depends on (BF537)
help
PNAV 1.0 board Support.

config H8606_HVSISTEMAS
bool "HV Sistemas H8606"
depends on (BF532)
help
HV Sistemas H8606 board support.

config GENERIC_BOARD
bool "Custom"
depends on (BF537 || BF536 \
|| BF534 || BF561 || BF535 || BF533 || BF532 || BF531)
help
GENERIC or Custom board Support.

endchoice

config MEM_GENERIC_BOARD
bool
depends on GENERIC_BOARD
Expand Down
2 changes: 2 additions & 0 deletions arch/blackfin/mach-bf527/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
if (BF52x)

source "arch/blackfin/mach-bf527/boards/Kconfig"

menu "BF527 Specific Configuration"

comment "Alternative Multiplexing Scheme"
Expand Down
12 changes: 12 additions & 0 deletions arch/blackfin/mach-bf527/boards/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
choice
prompt "System type"
default BFIN527_EZKIT
help
Select your board!

config BFIN527_EZKIT
bool "BF527-EZKIT"
help
BF527-EZKIT-LITE board support.

endchoice
7 changes: 3 additions & 4 deletions arch/blackfin/mach-bf527/boards/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#
# arch/blackfin/mach-bf532/boards/Makefile
# arch/blackfin/mach-bf527/boards/Makefile
#

obj-y += eth_mac.o
obj-$(CONFIG_BFIN527_EZKIT) += ezkit.o

obj-y += eth_mac.o
obj-$(CONFIG_BFIN527_EZKIT) += ezkit.o
2 changes: 2 additions & 0 deletions arch/blackfin/mach-bf533/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
if (BF533 || BF532 || BF531)

source "arch/blackfin/mach-bf533/boards/Kconfig"

menu "BF533/2/1 Specific Configuration"

comment "Interrupt Priority Assignment"
Expand Down
34 changes: 34 additions & 0 deletions arch/blackfin/mach-bf533/boards/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
choice
prompt "System type"
default BFIN533_STAMP
help
Select your board!

config BFIN533_EZKIT
bool "BF533-EZKIT"
help
BF533-EZKIT-LITE board support.

config BFIN533_STAMP
bool "BF533-STAMP"
help
BF533-STAMP board support.

config BFIN533_BLUETECHNIX_CM
bool "Bluetechnix CM-BF533"
depends on (BF533)
help
CM-BF533 support for EVAL- and DEV-Board.

config H8606_HVSISTEMAS
bool "HV Sistemas H8606"
depends on (BF532)
help
HV Sistemas H8606 board support.

config GENERIC_BF533_BOARD
bool "Generic"
help
Generic or Custom board support.

endchoice
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf533/boards/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# arch/blackfin/mach-bf533/boards/Makefile
#

obj-$(CONFIG_GENERIC_BOARD) += generic_board.o
obj-$(CONFIG_GENERIC_BF533_BOARD) += generic_board.o
obj-$(CONFIG_BFIN533_STAMP) += stamp.o
obj-$(CONFIG_BFIN533_EZKIT) += ezkit.o
obj-$(CONFIG_BFIN533_BLUETECHNIX_CM) += cm_bf533.o
Expand Down
2 changes: 2 additions & 0 deletions arch/blackfin/mach-bf537/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
if (BF537 || BF534 || BF536)

source "arch/blackfin/mach-bf537/boards/Kconfig"

menu "BF537 Specific Configuration"

comment "Interrupt Priority Assignment"
Expand Down
29 changes: 29 additions & 0 deletions arch/blackfin/mach-bf537/boards/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
choice
prompt "System type"
default BFIN537_STAMP
help
Select your board!

config BFIN537_STAMP
bool "BF537-STAMP"
help
BF537-STAMP board support.

config BFIN537_BLUETECHNIX_CM
bool "Bluetechnix CM-BF537"
depends on (BF537)
help
CM-BF537 support for EVAL- and DEV-Board.

config PNAV10
bool "PNAV board"
depends on (BF537)
help
PNAV board support.

config GENERIC_BF537_BOARD
bool "Generic"
help
Generic or Custom board support.

endchoice
10 changes: 5 additions & 5 deletions arch/blackfin/mach-bf537/boards/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# arch/blackfin/mach-bf537/boards/Makefile
#

obj-y += eth_mac.o
obj-$(CONFIG_GENERIC_BOARD) += generic_board.o
obj-$(CONFIG_BFIN537_STAMP) += stamp.o led.o
obj-$(CONFIG_BFIN537_BLUETECHNIX_CM) += cm_bf537.o
obj-$(CONFIG_PNAV10) += pnav10.o
obj-y += eth_mac.o
obj-$(CONFIG_GENERIC_BF537_BOARD) += generic_board.o
obj-$(CONFIG_BFIN537_STAMP) += stamp.o led.o
obj-$(CONFIG_BFIN537_BLUETECHNIX_CM) += cm_bf537.o
obj-$(CONFIG_PNAV10) += pnav10.o
2 changes: 2 additions & 0 deletions arch/blackfin/mach-bf548/Kconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
if (BF54x)

source "arch/blackfin/mach-bf548/boards/Kconfig"

menu "BF548 Specific Configuration"

config DEB_DMA_URGENT
Expand Down
12 changes: 12 additions & 0 deletions arch/blackfin/mach-bf548/boards/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
choice
prompt "System type"
default BFIN548_EZKIT
help
Select your board!

config BFIN548_EZKIT
bool "BF548-EZKIT"
help
BFIN548-EZKIT board support.

endchoice
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf548/boards/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# arch/blackfin/mach-bf548/boards/Makefile
#

obj-$(CONFIG_BFIN548_EZKIT) += ezkit.o led.o
obj-$(CONFIG_BFIN548_EZKIT) += ezkit.o led.o
4 changes: 3 additions & 1 deletion arch/blackfin/mach-bf561/Kconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
if BF561
if (BF561)

source "arch/blackfin/mach-bf561/boards/Kconfig"

menu "BF561 Specific Configuration"

Expand Down
27 changes: 27 additions & 0 deletions arch/blackfin/mach-bf561/boards/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
choice
prompt "System type"
default BFIN561_EZKIT
help
Select your board!

config BFIN561_EZKIT
bool "BF561-EZKIT"
help
BF561-EZKIT-LITE board support.

config BFIN561_TEPLA
bool "BF561-TEPLA"
help
BF561-TEPLA board support.

config BFIN561_BLUETECHNIX_CM
bool "Bluetechnix CM-BF561"
help
CM-BF561 support for EVAL- and DEV-Board.

config GENERIC_BF561_BOARD
bool "Generic"
help
Generic or Custom board support.

endchoice
2 changes: 1 addition & 1 deletion arch/blackfin/mach-bf561/boards/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# arch/blackfin/mach-bf561/boards/Makefile
#

obj-$(CONFIG_GENERIC_BOARD) += generic_board.o
obj-$(CONFIG_GENERIC_BF561_BOARD) += generic_board.o
obj-$(CONFIG_BFIN561_BLUETECHNIX_CM) += cm_bf561.o
obj-$(CONFIG_BFIN561_EZKIT) += ezkit.o
obj-$(CONFIG_BFIN561_TEPLA) += tepla.o

0 comments on commit 4f25eb8

Please sign in to comment.