summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-09-01 23:01:24 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2015-09-01 23:10:49 +0200
commit8df97b3b5c1af3cd0f496c44bbca4315f6cb1e33 (patch)
tree4168ecca19cb40e83cd8f2f8a3d859277e635c8f
parentce94e1160532b7cb642277d940fb9d8ec39cf9c3 (diff)
move serial support from mini.config
-rw-r--r--target/arm/kernel/beaglebone-black4
-rw-r--r--target/config/Config.in.runtime1
-rw-r--r--target/linux/config/Config.in.serial12
3 files changed, 13 insertions, 4 deletions
diff --git a/target/arm/kernel/beaglebone-black b/target/arm/kernel/beaglebone-black
index 504238189..2660d198d 100644
--- a/target/arm/kernel/beaglebone-black
+++ b/target/arm/kernel/beaglebone-black
@@ -2,7 +2,3 @@ CONFIG_ARM=y
CONFIG_ARM_PATCH_PHYS_VIRT=y
CONFIG_ARCH_MULTI_V7=y
CONFIG_SOC_AM33XX=y
-CONFIG_SERIAL_8250=y
-CONFIG_SERIAL_8250_CONSOLE=y
-CONFIG_SERIAL_OMAP=y
-CONFIG_SERIAL_OMAP_CONSOLE=y
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 91959ba6b..133c426e5 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -237,6 +237,7 @@ config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
default "ttyAMA0" if ADK_TARGET_SYSTEM_RASPBERRY_PI2
default "ttyDA1" if ADK_TARGET_SYSTEM_QEMU_METAG
default "ttyS2" if ADK_TARGET_SYSTEM_KINETIS_K70
+ default "ttyO0" if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
default "ttyS0"
config ADK_RUNTIME_CONSOLE_SERIAL_SPEED
diff --git a/target/linux/config/Config.in.serial b/target/linux/config/Config.in.serial
index e742f36ed..6d4555e39 100644
--- a/target/linux/config/Config.in.serial
+++ b/target/linux/config/Config.in.serial
@@ -10,6 +10,9 @@ config ADK_KERNEL_SERIAL_8250_PNP
config ADK_KERNEL_SERIAL_OF_PLATFORM
bool
+config ADK_KERNEL_SERIAL_OMAP_CONSOLE
+ bool
+
config ADK_KERNEL_SERIAL_ETRAXFS_CONSOLE
bool
@@ -90,4 +93,13 @@ config ADK_KERNEL_SERIAL_PMACZILOG
help
Serial driver for PMAC Q800 M68K.
+config ADK_KERNEL_SERIAL_OMAP
+ bool "omap serial driver"
+ select ADK_KERNEL_SERIAL_OMAP_CONSOLE
+ depends on ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
+ default y if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
+ default n
+ help
+ Serial driver for Beaglebone Black
+
endmenu