From: Adam Ford Date: Tue, 13 Aug 2019 08:28:28 -0500 Subject: [U-Boot] [PATCH] ARM: da850evm: Remove dead code Message-ID: <20190813132828.19051-1-aford173@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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