Skip to contentSkip to conversation

ARM: da850-evm: Remove dead/unneeded code

PATCH New Adam Ford 2 participants 2 messages Jul 19, 2019 – Jul 28, 2019

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 ARM: da850-evm: Remove dead/unneeded code

The DA8850-evm supports DM_I2C and boots with SPL_DM, so we can drop some of the code which disables DM_I2C in SPL. This patch removes some #undef's now rendered obsolete.

include/configs/da850evm.h +0 -8
index ccdac0abec..5d02c35279 100644
@@ -18,14 +18,6 @@
 #define CONFIG_USE_SPIFLASH
 #endif
 
-/*
-* Disable DM_* for SPL build and can be re-enabled after adding
-* DM support in SPL
-*/
-#ifdef CONFIG_SPL_BUILD
-#undef CONFIG_DM_I2C
-#undef CONFIG_DM_I2C_COMPAT
-#endif
 /*
  * SoC Configuration
  */
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 ARM: da850-evm: Remove dead/unneeded code

include/configs/da850evm.h

Quoted 8 lines · Adam Ford

The DA8850-evm supports DM_I2C and boots with SPL_DM, so we can drop some of the code which disables DM_I2C in SPL. This patch removes some #undef's now rendered obsolete.

include/configs/da850evm.h +0 -0
index ccdac0abec..5d02c35279 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/20190728/ca89b5de/attachment.sig>