]> git.baikalelectronics.ru Git - uboot.git/commit
serial: ns16550: Link in the DM driver when when using platdata
authorAlexandru Gagniuc <alex.g@adaptrum.com>
Mon, 27 Mar 2017 19:54:19 +0000 (12:54 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Apr 2017 17:43:23 +0000 (11:43 -0600)
commit4e91029ffb8bde9ae1268311d6f6d7f1db05124f
tree823955ee5b6fb7e727bbebd8ac97c6045d652dec
parenta91e9c0b1876d3dad686305806f443983e5a5185
serial: ns16550: Link in the DM driver when when using platdata

Do not condition the compilation of the U_BOOT_DRIVER by !OF_PLATDATA.
This is inconsistent with the majority of other drivers. This also
blocks OF_PLATDATA boards with an 16550-compatible serial from using
serial in SPL.

Signed-off-by: Alexandru Gagniuc <alex.g@adaptrum.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Added tweak for rock to avoid a TPL build failure:
Signed-off-by: Simon Glass <sjg@chromium.org>
configs/rock_defconfig
drivers/serial/ns16550.c