diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2014-09-10 11:42:20 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-09-11 07:59:45 +0200 |
commit | 29158c114b47d51061319bcf251dac938dbff51d (patch) | |
tree | 7fa67f9186ac9d79d362c9fe15a30329867b024b /arch/mips | |
parent | 0d7a21334536cb36b3c9b64d868acc55aec41332 (diff) | |
download | barebox-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')
-rw-r--r-- | arch/mips/Kconfig | 1 | ||||
-rw-r--r-- | arch/mips/mach-xburst/Kconfig | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index bc68c679d5..40d5d83732 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -82,7 +82,6 @@ config MACH_MIPS_LOONGSON config MACH_MIPS_XBURST bool "Ingenic XBurst-based boards" - select SYS_HAS_CPU_MIPS32_R1 select SYS_SUPPORTS_LITTLE_ENDIAN select SYS_SUPPORTS_32BIT_KERNEL select DRIVER_SERIAL_NS16550 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 |