From: Adam Ford Date: Tue, 13 Aug 2019 13:28:28 +0000 (-0500) Subject: ARM: da850evm: Remove dead code X-Git-Tag: v2019.10-rc3~9^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a6f14029e7a2a0dbae9810c90ff68dc333526926;p=oweals%2Fu-boot.git 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 --- 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)