Skip to content

Commit

Permalink
ARM: da850-evm: Remove dead/unneeded code
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
aford173 authored and trini committed Jul 27, 2019
1 parent 0d54e3b commit 3851f9b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions include/configs/da850evm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 3851f9b

Please sign in to comment.