From 66f4e9f664515dbcb5a702f9800e3a99d0fe4d41 Mon Sep 17 00:00:00 2001 From: Mario Haustein Date: Wed, 21 Sep 2016 18:54:08 +0200 Subject: refactor USART support for AVR32 Grasshopper board - force enable USB-USART bridge - add config menu option and kernel patch for enabling second USART --- target/linux/config/Config.in.serial | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'target/linux') 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 -- cgit v1.2.3