aboutsummaryrefslogtreecommitdiff
path: root/include/configs/ls1028a_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/ls1028a_common.h')
-rw-r--r--include/configs/ls1028a_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/ls1028a_common.h b/include/configs/ls1028a_common.h
index a6c7c37..40fcd22 100644
--- a/include/configs/ls1028a_common.h
+++ b/include/configs/ls1028a_common.h
@@ -42,7 +42,9 @@
#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 2048 * 1024)
/* I2C */
+#ifndef CONFIG_DM_I2C
#define CONFIG_SYS_I2C
+#endif
/* Serial Port */
#define CONFIG_CONS_INDEX 1