Newer
Older
barebox / arch / mips / mach-xburst / Kconfig
@Sascha Hauer Sascha Hauer on 30 Mar 2017 926 bytes poweroff: Allow to register poweroff handlers
if MACH_MIPS_XBURST

config ARCH_TEXT_BASE
	hex
	default 0xa0800000

config CPU_JZ4755
	bool
	select SYS_HAS_CPU_MIPS32_R1
	select WATCHDOG
	select WATCHDOG_JZ4740

config CPU_JZ4780
	bool
	select SYS_HAS_CPU_MIPS32_R2
	select WATCHDOG
	select WATCHDOG_JZ4740

choice
	prompt "Board type"

config BOARD_RZX50
	bool "Ritmix RZX-50"
	select CPU_JZ4755

config BOARD_CI20
	bool "Imagination Creator CI20"
	select CPU_JZ4780
	select HAS_DM9000

endchoice

if DEBUG_LL
choice
	prompt "DEBUG_LL port"

config JZ47XX_DEBUG_LL_UART0
	depends on CPU_JZ4755 || CPU_JZ4780
	bool "UART0"

config JZ47XX_DEBUG_LL_UART1
	depends on CPU_JZ4755 || CPU_JZ4780
	bool "UART1"

config JZ47XX_DEBUG_LL_UART2
	depends on CPU_JZ4755 || CPU_JZ4780
	bool "UART2"

config JZ47XX_DEBUG_LL_UART3
	depends on CPU_JZ4780
	bool "UART3"

config JZ47XX_DEBUG_LL_UART4
	depends on CPU_JZ4780
	bool "UART4"

endchoice
endif # DEBUG_LL

endif # MACH_MIPS_XBURST