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

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

Changes in v3:
 - Collect Reviewed-by tag.

Changes in v2: None

 drivers/serial/Kconfig | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 541cf2e..9e48902 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
-- 
2.7.4

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to