[U-Boot] ARM: da850evm: Remove dead code
diff mbox series

Message ID 20190813132828.19051-1-aford173@gmail.com
State Accepted
Delegated to: Tom Rini
Headers show
Series
  • [U-Boot] ARM: da850evm: Remove dead code
Related show

Commit Message

Adam Ford Aug. 13, 2019, 1:28 p.m. UTC
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>

Comments

Tom Rini Aug. 21, 2019, 12:43 p.m. UTC | #1
On Tue, Aug 13, 2019 at 08:28:28AM -0500, Adam Ford wrote:

> 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>
> 
> diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
> index ff536131ba..96c3bba9e4 100644

Applied to u-boot/master, thanks!

Patch
diff mbox series

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)