summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-09-19 16:06:49 -0500
committerTom Rini <trini@konsulko.com>2018-09-29 08:07:28 -0400
commit973fcc8daec0055b5bc14dae6aa9e44c0e9d17f9 (patch)
tree036c2ba3fb8c7f7ebf9e37fec57c02efde8fcbf9 /include
parent42140dd0962bc134c0aad27524d0f4cc3955f255 (diff)
ARM: da850evm_direct_nor_defconfig: Enable DM_SERIAL
With DM enabled, this patch enables DM_SERIAL and removes the NS16550 initialization from da850_lowlevel since the driver will take care of that itself. Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/da850evm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 14a6b9e5910..319f6aadf5b 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -116,7 +116,7 @@
* Serial Driver info
*/
-#if defined(CONFIG_SPL_BUILD) || defined(CONFIG_DIRECT_NOR_BOOT)
+#if !CONFIG_IS_ENABLED(DM_SERIAL)
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE -4 /* NS16550 register size */
#define CONFIG_SYS_NS16550_COM1 DAVINCI_UART2_BASE /* Base address of UART2 */