aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-04 11:58:24 -0600
committerSimon Glass <sjg@chromium.org>2016-07-14 20:40:24 -0600
commit2fc24d5335a35a4880fdc04cf4d45754d29cd415 (patch)
tree52e7f2753342d8b89d311118cafba32cb9819ae4 /drivers/serial/Makefile
parentb2927fbaa89d2c7f7ac3977bc0cab2a4b7924acd (diff)
downloadu-boot-2fc24d5335a35a4880fdc04cf4d45754d29cd415.zip
u-boot-2fc24d5335a35a4880fdc04cf4d45754d29cd415.tar.gz
u-boot-2fc24d5335a35a4880fdc04cf4d45754d29cd415.tar.bz2
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/Makefile')
-rw-r--r--drivers/serial/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/serial/Makefile b/drivers/serial/Makefile
index 92cbea5..6986d65 100644
--- a/drivers/serial/Makefile
+++ b/drivers/serial/Makefile
@@ -28,6 +28,9 @@ obj-$(CONFIG_S5P) += serial_s5p.o
obj-$(CONFIG_MXC_UART) += serial_mxc.o
obj-$(CONFIG_PXA_SERIAL) += serial_pxa.o
obj-$(CONFIG_MESON_SERIAL) += serial_meson.o
+ifdef CONFIG_SPL_BUILD
+obj-$(CONFIG_ROCKCHIP_SERIAL) += serial_rockchip.o
+endif
obj-$(CONFIG_S3C24X0_SERIAL) += serial_s3c24x0.o
obj-$(CONFIG_XILINX_UARTLITE) += serial_xuartlite.o
obj-$(CONFIG_SANDBOX_SERIAL) += sandbox.o