Skip to contentSkip to conversation

ARM: da850evm: Remove dead code

PATCH New Adam Ford 2 participants 2 messages Aug 13, 2019 – Aug 21, 2019

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 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.

include/configs/da850evm.h +0 -5
index ff536131ba..96c3bba9e4 100644
@@ -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)
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 ARM: da850evm: Remove dead code

include/configs/da850evm.h

Quoted 9 lines · Adam Ford

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.

include/configs/da850evm.h +0 -0
index ff536131ba..96c3bba9e4 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190821/a939a793/attachment.sig>