]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/serial/Kconfig
rockchip: serial: Add an of-platdata driver for rockchip
[people/ms/u-boot.git] / drivers / serial / Kconfig
index 0e3890391b24342429b8ea2ad1b89273424bd6bb..9ff7234d61e787ce4f2a201f0a1569ed220ea06c 100644 (file)
@@ -312,6 +312,15 @@ config SYS_NS16550
          be used. It can be a constant or a function to get clock, eg,
          get_serial_clock().
 
+config ROCKCHIP_SERIAL
+       bool "Rockchip on-chip UART support"
+       depends on DM_SERIAL && SPL_OF_PLATDATA
+       help
+         Select this to enable a debug UART for Rockchip devices when using
+         CONFIG_OF_PLATDATA (i.e. a compiled-in device tree replacemenmt).
+         This uses the ns16550 driver, converting the platdata from of-platdata
+         to the ns16550 format.
+
 config SANDBOX_SERIAL
        bool "Sandbox UART support"
        depends on SANDBOX