summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.target1
-rw-r--r--target/or1k/kernel/or1k-sim12
-rw-r--r--target/or1k/systems/or1k-sim6
3 files changed, 19 insertions, 0 deletions
diff --git a/target/config/Config.in.target b/target/config/Config.in.target
index dfd61d779..564cc392f 100644
--- a/target/config/Config.in.target
+++ b/target/config/Config.in.target
@@ -37,6 +37,7 @@ config ADK_TARGET_ROOTFS_INITRAMFSPIGGYBACK
depends on \
ADK_TARGET_QEMU || \
ADK_TARGET_SIM || \
+ ADK_TARGET_SYSTEM_OR1K_SIM || \
ADK_TARGET_ARCH_AARCH64 || \
ADK_TARGET_ARCH_ARM || \
ADK_TARGET_ARCH_M68K || \
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.
+