summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-26 12:33:02 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-26 12:33:15 +0100
commitf4570955a7c20dbc43afc698a2f9fed5393a0881 (patch)
treeee9378fcf060fb61d262f3d0523c96b53dfae3a8 /target/linux
parent0cc22b4e75d96c042dd30067297a93323d2183f2 (diff)
add experimental support for xtensa de212 core
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/config/Config.in.serial3
-rw-r--r--target/linux/config/Config.in.xtensa11
2 files changed, 14 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.serial b/target/linux/config/Config.in.serial
index 9e0ecb280..71816245b 100644
--- a/target/linux/config/Config.in.serial
+++ b/target/linux/config/Config.in.serial
@@ -66,6 +66,7 @@ config ADK_KERNEL_SERIAL_BFIN
config ADK_KERNEL_SERIAL_8250
bool "8250 serial driver"
select ADK_KERNEL_SERIAL_OF_PLATFORM if ADK_TARGET_SYSTEM_XILINX_KINTEX7 \
+ || ADK_TARGET_SYSTEM_QEMU_XTENSA \
|| ADK_TARGET_SYSTEM_QEMU_OR1K \
|| ADK_TARGET_SYSTEM_OR1K_SIM
select ADK_KERNEL_SERIAL_8250_PNP if ADK_TARGET_SYSTEM_PCENGINES_APU
@@ -78,6 +79,7 @@ config ADK_KERNEL_SERIAL_8250
|| ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
|| ADK_TARGET_SYSTEM_QEMU_X86 \
|| ADK_TARGET_SYSTEM_QEMU_X86_64 \
+ || ADK_TARGET_SYSTEM_QEMU_XTENSA \
|| ADK_TARGET_SYSTEM_OR1K_SIM \
|| ADK_TARGET_SYSTEM_IBM_X40 \
|| ADK_TARGET_SYSTEM_GENERIC_X86 \
@@ -92,6 +94,7 @@ config ADK_KERNEL_SERIAL_8250
default y if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO
default y if ADK_TARGET_SYSTEM_QEMU_X86
default y if ADK_TARGET_SYSTEM_QEMU_X86_64
+ default y if ADK_TARGET_SYSTEM_QEMU_XTENSA
default y if ADK_TARGET_SYSTEM_OR1K_SIM
default y if ADK_TARGET_SYSTEM_IBM_X40
default y if ADK_TARGET_SYSTEM_GENERIC_X86
diff --git a/target/linux/config/Config.in.xtensa b/target/linux/config/Config.in.xtensa
index 246c6a66c..3839251ee 100644
--- a/target/linux/config/Config.in.xtensa
+++ b/target/linux/config/Config.in.xtensa
@@ -9,3 +9,14 @@ config ADK_KERNEL_XTENSA_VARIANT_DC232B
config ADK_KERNEL_INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
bool
+
+config ADK_KERNEL_XTENSA_VARIANT_CUSTOM
+ bool
+
+config ADK_KERNEL_XTENSA_VARIANT_CUSTOM_NAME
+ string
+ default "de212" if ADK_TARGET_XTENSA_DE212
+
+config ADK_KERNEL_BUILTIN_DTB
+ string
+ default "kc705_nommu" if ADK_TARGET_XTENSA_DE212