summaryrefslogtreecommitdiff
path: root/target/or1k
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-10-23 08:24:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-10-23 08:25:08 +0200
commitb6e55ac8d5a98900c6e0cfa0091e488679680af3 (patch)
tree7f3efc6b94692fc08c11da43f1269e51ad4ec013 /target/or1k
parente496d39130b8b3e0eb7637c917a0c88c59d40e43 (diff)
add or1ksim basic files
Diffstat (limited to 'target/or1k')
-rw-r--r--target/or1k/kernel/or1k-sim12
-rw-r--r--target/or1k/systems/or1k-sim6
2 files changed, 18 insertions, 0 deletions
diff --git a/target/or1k/kernel/or1k-sim b/target/or1k/kernel/or1k-sim
new file mode 100644
index 000000000..9cdac3406
--- /dev/null
+++ b/target/or1k/kernel/or1k-sim
@@ -0,0 +1,12 @@
+CONFIG_OPENRISC=y
+CONFIG_OPENRISC_BUILTIN_DTB="or1ksim"
+CONFIG_OR1K_1200=y
+CONFIG_OPENRISC_HAVE_INST_FF1=y
+CONFIG_OPENRISC_HAVE_INST_FL1=y
+CONFIG_OPENRISC_HAVE_INST_MUL=y
+CONFIG_OPENRISC_HAVE_INST_DIV=y
+CONFIG_OPENRISC_HAVE_INST_LWA_SWA=y
+CONFIG_IRQCHIP=y
+CONFIG_OR1K_PIC=y
+CONFIG_SLOB=y
+CONFIG_MICREL_PHY=y
diff --git a/target/or1k/systems/or1k-sim b/target/or1k/systems/or1k-sim
new file mode 100644
index 000000000..29cbaf74b
--- /dev/null
+++ b/target/or1k/systems/or1k-sim
@@ -0,0 +1,6 @@
+config ADK_TARGET_SYSTEM_OR1K_SIM
+ bool "OR1K Simulator"
+ select ADK_CPU_OR1K
+ help
+ Simulator for OR1K architecture.
+