From a6f14029e7a2a0dbae9810c90ff68dc333526926 Mon Sep 17 00:00:00 2001
From: Adam Ford <aford173@gmail.com>
Date: Tue, 13 Aug 2019 08:28:28 -0500
Subject: [PATCH] ARM: da850evm: Remove dead code

Now that SPL supports DM_SERIAL and the direct NOR boot supports
DM_SERIAL, the check to see if DM_SERIAL is defined can go away,
because all da850evm variants now support DM_SERIAL.  This patch
simply removes some dead precompiler defines.

Signed-off-by: Adam Ford <aford173@gmail.com>
---
 include/configs/da850evm.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 3153ceb2d3..b87b6b208b 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -106,11 +106,6 @@
 /*
  * Serial Driver info
  */
-
-#if !CONFIG_IS_ENABLED(DM_SERIAL)
-#define CONFIG_SYS_NS16550_SERIAL
-#define CONFIG_SYS_NS16550_COM1	DAVINCI_UART2_BASE /* Base address of UART2 */
-#endif
 #define CONFIG_SYS_NS16550_CLK	clk_get(DAVINCI_UART2_CLKID)
 
 #define CONFIG_SYS_SPI_CLK		clk_get(DAVINCI_SPI1_CLKID)
-- 
2.39.5