[U-Boot] [PATCH] ARM: da850evm: Remove dead code
Adam Ford
aford173 at gmail.com
Tue Aug 13 13:28:28 UTC 2019
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 at gmail.com>
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index ff536131ba..96c3bba9e4 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.17.1
More information about the U-Boot
mailing list