summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorMario Haustein <mario.haustein@hrz.tu-chemnitz.de>2016-09-21 18:54:08 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-22 17:31:31 +0200
commit66f4e9f664515dbcb5a702f9800e3a99d0fe4d41 (patch)
tree10088eec6ff5ab69588a2bfce753c3fa77cc3284 /target/linux
parent28eb01ea61a05be331b6bccd8fa5aac7781c48b9 (diff)
refactor USART support for AVR32 Grasshopper board
- force enable USB-USART bridge - add config menu option and kernel patch for enabling second USART
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/config/Config.in.serial18
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/config/Config.in.serial b/target/linux/config/Config.in.serial
index 34d1ec2de..83cb5b0e2 100644
--- a/target/linux/config/Config.in.serial
+++ b/target/linux/config/Config.in.serial
@@ -260,4 +260,22 @@ config ADK_KERNEL_SERIAL_UARTLITE
help
Serial driver for Microblaze S3ADSP1800
+config ADK_KERNEL_SERIAL_ATMEL
+ bool "AT32 serial driver"
+ select ADK_KERNEL_SERIAL_ATMEL_CONSOLE
+ select ADK_KERNEL_SERIAL_ATMEL_PDC
+ select ADK_KERNEL_BOARD_GRASSHOPPER_USART1 if ADK_TARGET_SYSTEM_GRASSHOPPER
+ depends on ADK_TARGET_CPU_AVR32
+ default y if ADK_TARGET_SYSTEM_GRASSHOPPER
+ default n
+ help
+ Serial driver for AVR32 Grasshopper boards
+
+config ADK_KERNEL_BOARD_GRASSHOPPER_USART0
+ bool "Enable USART0 on AVR32 Grasshopper boards"
+ depends on ADK_KERNEL_SERIAL_ATMEL && ADK_TARGET_SYSTEM_GRASSHOPPER
+ default n
+ help
+ Enable second USART on Grasshoper boards
+
endmenu