]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: da850-evm: Remove dead/unneeded code
authorAdam Ford <aford173@gmail.com>
Fri, 19 Jul 2019 21:24:50 +0000 (16:24 -0500)
committerTom Rini <trini@konsulko.com>
Sat, 27 Jul 2019 17:36:53 +0000 (13:36 -0400)
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>
include/configs/da850evm.h

index 7550745a5bdc26d22483bb8946a5e0b684169a99..2dab17afabbc367b95d74be0cf966b5967762bf4 100644 (file)
 #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
  */