summaryrefslogtreecommitdiff
path: root/target/h8300
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-06-09 16:02:24 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2015-06-10 08:19:39 -0500
commit260703a97087db63a9fbaf72e4b6c5a0d337559f (patch)
treeaab3af2b62daadf2497f05810c9c1122c584169d /target/h8300
parente313b47683325dc679e99320a7bc8d7a76b61668 (diff)
add simulator target for h8/300, reorg no-MMU
Some no-MMU targets need uclinux in its triple, some not. Introduce a new symbol for noMMU to select correct software and configuration instead of using UCLINUX symbol.
Diffstat (limited to 'target/h8300')
-rw-r--r--target/h8300/kernel/sim-h8300h4
-rw-r--r--target/h8300/systems/sim-h8300h8
2 files changed, 12 insertions, 0 deletions
diff --git a/target/h8300/kernel/sim-h8300h b/target/h8300/kernel/sim-h8300h
new file mode 100644
index 000000000..fc28f02f8
--- /dev/null
+++ b/target/h8300/kernel/sim-h8300h
@@ -0,0 +1,4 @@
+CONFIG_H8300H_SIM=y
+CONFIG_H8300_BUILTIN_DTB="h8300h_sim"
+CONFIG_SERIAL_SH_SCI=y
+CONFIG_SERIAL_SH_SCI_CONSOLE=y
diff --git a/target/h8300/systems/sim-h8300h b/target/h8300/systems/sim-h8300h
new file mode 100644
index 000000000..2ff18a514
--- /dev/null
+++ b/target/h8300/systems/sim-h8300h
@@ -0,0 +1,8 @@
+config ADK_TARGET_SYSTEM_SIM_H8300H
+ bool "Simulator"
+ select ADK_CPU_H8300
+ select ADK_TARGET_TOOLCHAIN
+ select ADK_TARGET_PACKAGE_TXZ
+ help
+ H8/300 simulator.
+