Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22a82628 authored by Sonic Zhang's avatar Sonic Zhang Committed by Bob Liu
Browse files

blackfin: mach-bf609: add machine files



Add machine files for bf60x including head files, Kconfig/Makefile and board
file.

Signed-off-by: default avatarSonic Zhang <sonic.zhang@analog.com>
Signed-off-by: default avatarBob Liu <lliubbo@gmail.com>
parent b2286f2b
Loading
Loading
Loading
Loading
+56 −0
Original line number Diff line number Diff line
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 −0
Original line number Diff line number Diff line
#
# arch/blackfin/mach-bf609/Makefile
#

obj-y := dma.o clock.o
obj-$(CONFIG_PM) += pm.o hibernate.o
+12 −0
Original line number Diff line number Diff line
choice
	prompt "System type"
	default BFIN609_EZKIT
	help
	  Select your board!

config BFIN609_EZKIT
	bool "BF609-EZKIT"
	help
	  BFIN609-EZKIT board support.
	  
endchoice
+5 −0
Original line number Diff line number Diff line
#
# arch/blackfin/mach-bf609/boards/Makefile
#

obj-$(CONFIG_BFIN609_EZKIT)            += ezkit.o
+1328 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading