diff options
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/config/Config.in.serial | 17 | ||||
-rw-r--r-- | target/xtensa/kernel/xilinx-kintex7 | 8 | ||||
-rw-r--r-- | target/xtensa/systems/xilinx-kintex7 | 1 |
3 files changed, 23 insertions, 3 deletions
diff --git a/target/linux/config/Config.in.serial b/target/linux/config/Config.in.serial index 46cc40dba..ceba7c5c3 100644 --- a/target/linux/config/Config.in.serial +++ b/target/linux/config/Config.in.serial @@ -1,15 +1,32 @@ menu "Serial devices support" depends on ADK_TARGET_WITH_SERIAL || ADK_TARGET_QEMU || ADK_TARGET_VBOX +config ADK_KERNEL_SERIAL_8250_CONSOLE + bool + +config ADK_KERNEL_SERIAL_OF_PLATFORM + bool + config ADK_KERNEL_SERIAL_ETRAXFS_CONSOLE bool config ADK_KERNEL_SERIAL_ETRAXFS bool "ETRAXFS serial driver" select ADK_KERNEL_SERIAL_ETRAXFS_CONSOLE + depends on ADK_TARGET_SYSTEM_QEMU_CRIS default y if ADK_TARGET_SYSTEM_QEMU_CRIS default n help Serial driver for ETRAXFS CRISv32 Qemu Emulation. +config ADK_KERNEL_SERIAL_8250 + bool "8250 serial driver" + select ADK_KERNEL_SERIAL_OF_PLATFORM if ADK_TARGET_SYSTEM_XILINX_KINTEX7 + select ADK_KERNEL_SERIAL_8250_CONSOLE + depends on ADK_TARGET_SYSTEM_XILINX_KINTEX7 + default y if ADK_TARGET_SYSTEM_XILINX_KINTEX7 + default n + help + Serial driver for 8250 UART chip. + endmenu diff --git a/target/xtensa/kernel/xilinx-kintex7 b/target/xtensa/kernel/xilinx-kintex7 index c7a401380..25f8e3798 100644 --- a/target/xtensa/kernel/xilinx-kintex7 +++ b/target/xtensa/kernel/xilinx-kintex7 @@ -1,5 +1,7 @@ CONFIG_XTENSA=y CONFIG_XTENSA_PLATFORM_XTFPGA=y -CONFIG_SERIAL_CONSOLE=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y +CONFIG_XTENSA_VARIANT_DC233C=y +CONFIG_XTENSA_UNALIGNED_USER=y +CONFIG_USE_OF=y +CONFIG_BUILTIN_DTB="kc705" + diff --git a/target/xtensa/systems/xilinx-kintex7 b/target/xtensa/systems/xilinx-kintex7 index af044e458..2735857f1 100644 --- a/target/xtensa/systems/xilinx-kintex7 +++ b/target/xtensa/systems/xilinx-kintex7 @@ -2,6 +2,7 @@ config ADK_TARGET_SYSTEM_XILINX_KINTEX7 bool "Xilinx Kintex 7" select ADK_CPU_XTENSA select ADK_TARGET_KERNEL_ZIMAGE + select ADK_TARGET_WITH_SERIAL select ADK_HOST_BUILD_U_BOOT_GIT help Support for Xilinx Kintex 7 with Cadence daughterboard. |