Browse Source

use binfmt flat for lm32

Waldemar Brodkorb 8 years ago
parent
commit
049288d840
2 changed files with 6 additions and 1 deletions
  1. 2 1
      target/config/Config.in.binfmt
  2. 4 0
      target/lm32/kernel/qemu-lm32

+ 2 - 1
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"

+ 4 - 0
target/lm32/kernel/qemu-lm32

@@ -1 +1,5 @@
 CONFIG_LM32=y
+CONFIG_PLAT_MILKYMIST=y
+CONFIG_CPU_MICO32=y
+CONFIG_BOARD_MILKYMIST_ONE=y
+