DM: serial: ti_omap3_common: Don't define serial unless !DM_SERIAL
authorAdam Ford <aford173@gmail.com>
Tue, 21 Aug 2018 01:43:00 +0000 (20:43 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 12 Sep 2018 01:39:06 +0000 (21:39 -0400)
commit750df1979d5713b3b8a5aab91315d90b9966c60e
tree8f4e5ec3c486c5abaf05d57beb31f02573d237e4
parent668146128aefc4c0e493056501092e90c85f1dd3
DM: serial: ti_omap3_common: Don't define serial unless !DM_SERIAL

The serial port was being manually configured during SPL build,
however in preparation to allow DM in SPL, this needs to change
to be based on whether or not DM_SERIAL is enabled because, soon
the assumption that SPL means no DM may not be accurate.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/configs/ti_omap3_common.h