Skip to content

Commit

Permalink
blackfin: mach-bf609: add machine files
Browse files Browse the repository at this point in the history
Add machine files for bf60x including head files, Kconfig/Makefile and board
file.

Signed-off-by: Sonic Zhang <[email protected]>
Signed-off-by: Bob Liu <[email protected]>
  • Loading branch information
sonicz authored and aet00 committed May 21, 2012
1 parent b2286f2 commit 22a8262
Show file tree
Hide file tree
Showing 20 changed files with 9,781 additions and 0 deletions.
56 changes: 56 additions & 0 deletions arch/blackfin/mach-bf609/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
config BF60x
def_bool y
depends on (BF609)
select IRQ_PREFLOW_FASTEOI

if (BF60x)

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

menu "BF609 Specific Configuration"

comment "Pin Interrupt to Port Assignment"
menu "Assignment"

config PINTx_REASSIGN
bool "Reprogram PINT Assignment"
default y
help
The interrupt assignment registers controls the pin-to-interrupt
assignment in a byte-wide manner. Each option allows you to select
a set of pins (High/Low Byte) of an specific Port being mapped
to one of the four PIN Interrupts IRQ_PINTx.

You shouldn't change any of these unless you know exactly what you're doing.
Please consult the Blackfin BF60x Processor Hardware Reference Manual.

config PINT0_ASSIGN
hex "PINT0_ASSIGN"
depends on PINTx_REASSIGN
default 0x00000101
config PINT1_ASSIGN
hex "PINT1_ASSIGN"
depends on PINTx_REASSIGN
default 0x00000101
config PINT2_ASSIGN
hex "PINT2_ASSIGN"
depends on PINTx_REASSIGN
default 0x00000101
config PINT3_ASSIGN
hex "PINT3_ASSIGN"
depends on PINTx_REASSIGN
default 0x00000101
config PINT4_ASSIGN
hex "PINT3_ASSIGN"
depends on PINTx_REASSIGN
default 0x00000101
config PINT5_ASSIGN
hex "PINT3_ASSIGN"
depends on PINTx_REASSIGN
default 0x00000101

endmenu

endmenu

endif
6 changes: 6 additions & 0 deletions arch/blackfin/mach-bf609/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# arch/blackfin/mach-bf609/Makefile
#

obj-y := dma.o clock.o
obj-$(CONFIG_PM) += pm.o hibernate.o
12 changes: 12 additions & 0 deletions arch/blackfin/mach-bf609/boards/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
choice
prompt "System type"
default BFIN609_EZKIT
help
Select your board!

config BFIN609_EZKIT
bool "BF609-EZKIT"
help
BFIN609-EZKIT board support.

endchoice
5 changes: 5 additions & 0 deletions arch/blackfin/mach-bf609/boards/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# arch/blackfin/mach-bf609/boards/Makefile
#

obj-$(CONFIG_BFIN609_EZKIT) += ezkit.o
Loading

0 comments on commit 22a8262

Please sign in to comment.