summaryrefslogtreecommitdiff
path: root/include/configs/sunxi-common.h
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2015-02-02 10:11:44 -0500
committerTom Rini <trini@ti.com>2015-02-02 10:11:44 -0500
commitbe8ddad9c85935569a00b72f92cdc34e4386850f (patch)
tree9cfff8c5cc13f0518f3dfe3a35f558e2a5637f95 /include/configs/sunxi-common.h
parent358b8bc204f365be28fed94f23e53e04183a8c7f (diff)
parent5abdb156bb5c2685744be3620c4bdb1875bd81ce (diff)
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
Diffstat (limited to 'include/configs/sunxi-common.h')
-rw-r--r--include/configs/sunxi-common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
index 4a5cab25d4..6cfd7e1489 100644
--- a/include/configs/sunxi-common.h
+++ b/include/configs/sunxi-common.h
@@ -181,7 +181,10 @@
#define CONFIG_SYS_SPL_MALLOC_SIZE 0x00080000 /* 512 KiB */
/* I2C */
+#if defined CONFIG_AXP152_POWER || defined CONFIG_AXP209_POWER
#define CONFIG_SPL_I2C_SUPPORT
+#endif
+
#define CONFIG_SYS_I2C
#define CONFIG_SYS_I2C_MVTWSI
#define CONFIG_SYS_I2C_SPEED 400000