summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/config/Config.in.binfmt3
-rw-r--r--target/lm32/kernel/qemu-lm324
2 files changed, 6 insertions, 1 deletions
diff --git a/target/config/Config.in.binfmt b/target/config/Config.in.binfmt
index 2e15e613d..169c0cb00 100644
--- a/target/config/Config.in.binfmt
+++ b/target/config/Config.in.binfmt
@@ -7,6 +7,7 @@ depends on ADK_TARGET_ARCH_ARM \
|| ADK_TARGET_ARCH_BFIN \
|| ADK_TARGET_ARCH_C6X \
|| ADK_TARGET_ARCH_H8300\
+ || ADK_TARGET_ARCH_LM32\
|| ADK_TARGET_ARCH_M68K
config ADK_TARGET_BINFMT_ELF
@@ -16,7 +17,7 @@ config ADK_TARGET_BINFMT_ELF
config ADK_TARGET_BINFMT_FLAT
bool "FLAT"
depends on (ADK_TARGET_ARCH_ARM || ADK_TARGET_ARCH_BFIN || ADK_TARGET_ARCH_M68K) && ADK_TARGET_UCLINUX \
- || ADK_TARGET_ARCH_H8300
+ || ADK_TARGET_ARCH_H8300 || ADK_TARGET_ARCH_LM32
config ADK_TARGET_BINFMT_DSBT
bool "DSBT"
diff --git a/target/lm32/kernel/qemu-lm32 b/target/lm32/kernel/qemu-lm32
index 0b7cbab1f..fd48da013 100644
--- a/target/lm32/kernel/qemu-lm32
+++ b/target/lm32/kernel/qemu-lm32
@@ -1 +1,5 @@
CONFIG_LM32=y
+CONFIG_PLAT_MILKYMIST=y
+CONFIG_CPU_MICO32=y
+CONFIG_BOARD_MILKYMIST_ONE=y
+