From: Wenyou Yang <wenyou.yang@atmel.com>
Date: Mon, 17 Oct 2016 01:49:54 +0000 (+0800)
Subject: serial: Kconfig: Add ATMEL_USART option
X-Git-Tag: v2025.01-rc5-pxa1908~8260^2~6
X-Git-Url: http://git.dujemihanovic.xyz/%22bddb.css/static/gitweb.css?a=commitdiff_plain;h=6ec739aa525bb238acdd428042a11183ce4be3c4;p=u-boot.git

serial: Kconfig: Add ATMEL_USART option

Add ATMEL_USART option to support to enable the Atmel usart driver
from Kconfig.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
---

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 541cf2e512..9e48902446 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -296,6 +296,13 @@ config AR933X_UART
 	  tree binding to operate, please refer to the document at
 	  doc/device-tree-bindings/serial/qca,ar9330-uart.txt.
 
+config ATMEL_USART
+	bool "Atmel USART support"
+	help
+	  Select this to enable USART support for Atmel SoCs. It can be
+	  configured in the device tree, and input clock frequency can
+	  be got from the clk node.
+
 config FSL_LPUART
 	bool "Freescale LPUART support"
 	help