summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorJernej Skrabec <jernej.skrabec@siol.net>2017-04-27 00:03:37 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-04-28 09:19:07 +0200
commita05a45493d9fc0bd7f1da2f62ffdfb64caf8a3c7 (patch)
treeb74023a1256fa2ec39d7b7ebbe710c7f498a6a0f /board
parenta8f01ccff2abf680449b2e694284ecf089b5d9be (diff)
downloadu-boot-a05a45493d9fc0bd7f1da2f62ffdfb64caf8a3c7.tar.gz
sunxi: Enable DM_I2C for A64/H3/H5
This commits enable DM I2C support for A64/H3/H5 SoCs. It is not enabled globaly for all sunxi SoCs, because some boards use PMICs which are connected through I2C. In order to keep same functionality, PMIC drivers needs to be ported to DM too. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Heiko Schocher <hs@denx.de> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'board')
-rw-r--r--board/sunxi/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index b47034f417..903cd482a5 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -58,6 +58,7 @@ config SUNXI_GEN_SUN6I
config MACH_SUNXI_H3_H5
bool
+ select DM_I2C
select SUNXI_DE2
select SUNXI_GEN_SUN6I
select SUPPORT_SPL
@@ -163,6 +164,7 @@ config MACH_SUN9I
config MACH_SUN50I
bool "sun50i (Allwinner A64)"
select ARM64
+ select DM_I2C
select SUNXI_DE2
select SUNXI_GEN_SUN6I
select SUNXI_HIGH_SRAM