diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-04 11:58:24 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-14 20:40:24 -0600 |
commit | 2fc24d5335a35a4880fdc04cf4d45754d29cd415 (patch) | |
tree | 52e7f2753342d8b89d311118cafba32cb9819ae4 /drivers/serial/Kconfig | |
parent | b2927fbaa89d2c7f7ac3977bc0cab2a4b7924acd (diff) | |
download | u-boot-2fc24d5335a35a4880fdc04cf4d45754d29cd415.tar.gz |
rockchip: serial: Add an of-platdata driver for rockchip
Add a driver that works with of-platdata. It sets up the platform data and
calls the standard ns16550 driver.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r-- | drivers/serial/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 0e3890391b..9ff7234d61 100644 --- a/drivers/serial/Kconfig +++ b/drivers/serial/Kconfig @@ -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 |