summaryrefslogtreecommitdiffstats
path: root/arch/mips/mach-xburst
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-09-10 11:42:20 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-09-11 07:59:45 +0200
commit29158c114b47d51061319bcf251dac938dbff51d (patch)
tree7fa67f9186ac9d79d362c9fe15a30329867b024b /arch/mips/mach-xburst
parent0d7a21334536cb36b3c9b64d868acc55aec41332 (diff)
downloadbarebox-29158c114b47d51061319bcf251dac938dbff51d.tar.gz
barebox-29158c114b47d51061319bcf251dac938dbff51d.tar.xz
MIPS: xburst: add JZ4780 SoC support
Old Ingenic SoCs (JZ4755, JZ4740) use MIPS32r1 ISA CPU cores than latest ones (JZ4770, JZ4780) use MIPS32r2. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/mach-xburst')
-rw-r--r--arch/mips/mach-xburst/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/mach-xburst/Kconfig b/arch/mips/mach-xburst/Kconfig
index f7b8470cb8..4d57015fa5 100644
--- a/arch/mips/mach-xburst/Kconfig
+++ b/arch/mips/mach-xburst/Kconfig
@@ -6,6 +6,13 @@ config ARCH_TEXT_BASE
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