summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam Ford <[email protected]>2018-08-19 11:11:03 -0500
committerTom Rini <[email protected]>2018-09-11 21:48:04 -0400
commit819ad5f625b17d189c5dcaec377c451fd3266def (patch)
treecd7fddd18fa4837d4f9be85bf2e77deda3e16017 /include
parent8cd21a63463318b1f7c90778da364dd649c27ca9 (diff)
ARM: am3517_evm: Disable DM_I2C_COMPAT
DM_I2C_COMPAT is somehow being enabled outside of Kconfig, so this explicitly undefines it in the header file, and brackets the I2C initialization around an #ifdef to not manually initialize the I2C controller when the DM_I2C is enabled. Signed-off-by: Adam Ford <[email protected]> Tested-by: Derald D. Woods <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/am3517_evm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h
index 1fe81d8934b..a3d261bbba9 100644
--- a/include/configs/am3517_evm.h
+++ b/include/configs/am3517_evm.h
@@ -23,8 +23,9 @@
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x100000
#include <configs/ti_omap3_common.h>
-#undef CONFIG_SDRC /* Disable SDRC since we have EMIF4 */
+#undef CONFIG_DM_I2C_COMPAT
+#define CONFIG_MISC_INIT_R
#define CONFIG_REVISION_TAG
/* Hardware drivers */