[U-Boot] ARM: da850-evm: Remove dead/unneeded code
diff mbox series

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

Commit Message

Adam Ford July 19, 2019, 9:24 p.m. UTC
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.

Signed-off-by: Adam Ford <aford173@gmail.com>

Comments

Tom Rini July 28, 2019, 9:51 p.m. UTC | #1
On Fri, Jul 19, 2019 at 04:24:50PM -0500, Adam Ford wrote:

> 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.
> 
> Signed-off-by: Adam Ford <aford173@gmail.com>
> 
> diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
> index ccdac0abec..5d02c35279 100644

Applied to u-boot/master, thanks!

Patch
diff mbox series

diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index ccdac0abec..5d02c35279 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -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
  */