ARM: da850evm: Remove dead code
authorAdam Ford <aford173@gmail.com>
Tue, 13 Aug 2019 13:28:28 +0000 (08:28 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 20 Aug 2019 15:46:38 +0000 (11:46 -0400)
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

index 3153ceb2d3858c45ba07c185617621660974d45d..b87b6b208b33b605325866bd8ca225c40234ffd4 100644 (file)
 /*
  * 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)