diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-02-09 05:00:23 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-02-09 05:00:40 +0100 |
commit | 13248bfa1d2097f55ac5f4321d805870ba88bf19 (patch) | |
tree | 20f427fb5ec40a633a9dec6924dd3271db53189c /target | |
parent | 571d99e74d42fac830069c2ca2fbd5f505613dc6 (diff) |
add basic support for edosk2674
Diffstat (limited to 'target')
-rw-r--r-- | target/config/Config.in.cpu | 11 | ||||
-rw-r--r-- | target/config/Config.in.rootfs | 1 | ||||
-rw-r--r-- | target/h8300/kernel/hitachi-edosk2674 | 2 | ||||
-rw-r--r-- | target/h8300/systems/hitachi-edosk2674 | 7 | ||||
-rw-r--r-- | target/h8300/systems/sim-h8300h | 2 |
5 files changed, 20 insertions, 3 deletions
diff --git a/target/config/Config.in.cpu b/target/config/Config.in.cpu index 39dc0ad62..dc0b6275f 100644 --- a/target/config/Config.in.cpu +++ b/target/config/Config.in.cpu @@ -465,8 +465,13 @@ config ADK_TARGET_CPU_FRV depends on ADK_TARGET_ARCH_FRV # h8/300 -config ADK_TARGET_CPU_H8300 - bool "h8/300" +config ADK_TARGET_CPU_H8300H + bool "h8300h" + select ADK_TARGET_WITHOUT_MMU + depends on ADK_TARGET_ARCH_H8300 + +config ADK_TARGET_CPU_H8S + bool "h8s" select ADK_TARGET_WITHOUT_MMU depends on ADK_TARGET_ARCH_H8300 @@ -1877,6 +1882,8 @@ config ADK_TARGET_CPU_FLAGS default "-mcpu=bf592" if ADK_TARGET_CPU_BFIN_BF592 default "-mcpu=v10" if ADK_TARGET_CPU_CRIS_CRISV10 default "-mcpu=v32" if ADK_TARGET_CPU_CRIS_CRISV32 + default "-mh" if ADK_TARGET_CPU_H8300H + default "-ms" if ADK_TARGET_CPU_H8S default "-mmetac=2.1" if ADK_TARGET_CPU_METAG default "-mcpu=v7.10.d" if ADK_TARGET_CPU_MICROBLAZE default "-mj2" if ADK_TARGET_CPU_SH_J2 diff --git a/target/config/Config.in.rootfs b/target/config/Config.in.rootfs index 41e9b27a6..f4d1f1a43 100644 --- a/target/config/Config.in.rootfs +++ b/target/config/Config.in.rootfs @@ -17,6 +17,7 @@ config ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK ADK_TARGET_ARCH_AARCH64 || \ ADK_TARGET_ARCH_ARC || \ ADK_TARGET_ARCH_ARM || \ + ADK_TARGET_ARCH_H8300 || \ ADK_TARGET_ARCH_M68K || \ ADK_TARGET_ARCH_MICROBLAZE || \ ADK_TARGET_ARCH_MIPS || \ diff --git a/target/h8300/kernel/hitachi-edosk2674 b/target/h8300/kernel/hitachi-edosk2674 new file mode 100644 index 000000000..40394a53a --- /dev/null +++ b/target/h8300/kernel/hitachi-edosk2674 @@ -0,0 +1,2 @@ +CONFIG_H8300=y +CONFIG_H8S_EDOSK2674=y diff --git a/target/h8300/systems/hitachi-edosk2674 b/target/h8300/systems/hitachi-edosk2674 new file mode 100644 index 000000000..5f674f25b --- /dev/null +++ b/target/h8300/systems/hitachi-edosk2674 @@ -0,0 +1,7 @@ +config ADK_TARGET_SYSTEM_HITACHI_EDOSK2674 + bool "Hitachi EDOSK2674" + select ADK_TARGET_CPU_H8S + select ADK_TARGET_PACKAGE_TXZ + help + Hitachi EDOSK2674 H8S development board. + diff --git a/target/h8300/systems/sim-h8300h b/target/h8300/systems/sim-h8300h index 1c82e1012..bf733f9bd 100644 --- a/target/h8300/systems/sim-h8300h +++ b/target/h8300/systems/sim-h8300h @@ -1,6 +1,6 @@ config ADK_TARGET_SYSTEM_SIM_H8300H bool "GDB simulator" - select ADK_TARGET_CPU_H8300 + select ADK_TARGET_CPU_H8300H select ADK_TARGET_SIM select ADK_TARGET_PACKAGE_TXZ help |