summaryrefslogtreecommitdiff
path: root/target/sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-06 19:29:08 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-12-07 18:31:58 +0100
commit1d6dad6593153c418beeb7dad3fb1cdf2b6649fc (patch)
tree98065f07c1d4a916532fccc94c5b1be1f4bbfcdc /target/sh
parentaeee785b047fdc8a25be0b65d9ffe2b9c07900d3 (diff)
sh: add support for numato mimas v2
Diffstat (limited to 'target/sh')
-rw-r--r--target/sh/Makefile4
-rw-r--r--target/sh/kernel/numato-mimasv28
-rw-r--r--target/sh/systems/numato-mimasv26
3 files changed, 18 insertions, 0 deletions
diff --git a/target/sh/Makefile b/target/sh/Makefile
index 0056f7e49..c42d6570a 100644
--- a/target/sh/Makefile
+++ b/target/sh/Makefile
@@ -5,7 +5,11 @@ include $(ADK_TOPDIR)/rules.mk
include $(ADK_TOPDIR)/mk/kernel-build.mk
include $(ADK_TOPDIR)/mk/image.mk
+ifeq ($(ADK_TARGET_SYSTEM_NUMATO_MIMASV2),y)
+KERNEL:=$(LINUX_DIR)/vmlinux
+else
KERNEL:=$(LINUX_DIR)/arch/sh/boot/zImage
+endif
QEMU_ARGS:=-M r2d
QEMU_ARGS+=${ADK_QEMU_ARGS}
diff --git a/target/sh/kernel/numato-mimasv2 b/target/sh/kernel/numato-mimasv2
new file mode 100644
index 000000000..60481319f
--- /dev/null
+++ b/target/sh/kernel/numato-mimasv2
@@ -0,0 +1,8 @@
+CONFIG_SUPERH=y
+CONFIG_SUPERH32=y
+CONFIG_CPU_SH2=y
+CONFIG_0PF_FPGA=y
+CONFIG_CPU_BIG_ENDIAN=y
+CONFIG_CPU_SUBTYPE_0PF=y
+CONFIG_CACHE_OFF=y
+CONFIG_CMDLINE_EXTEND=y
diff --git a/target/sh/systems/numato-mimasv2 b/target/sh/systems/numato-mimasv2
new file mode 100644
index 000000000..5242c6ab7
--- /dev/null
+++ b/target/sh/systems/numato-mimasv2
@@ -0,0 +1,6 @@
+config ADK_TARGET_SYSTEM_NUMATO_MIMASV2
+ bool "Numato Mimas v2 FPGA"
+ select ADK_CPU_SH2
+ help
+ Support for Numato Mimas v2 FPGA with J2 Core Bitstream, sh2 architecture.
+