diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2017-10-29 12:09:01 +0300 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2017-11-20 12:11:44 +0300 |
commit | 456efb512728a4cd6fe66871932c5384bec9b7c1 (patch) | |
tree | e41e6d897a9a269a3c528a9e126ae3365622c13d /board/amlogic | |
parent | f8d9ca18333c42040135c6605ee27668da1738af (diff) | |
download | u-boot-456efb512728a4cd6fe66871932c5384bec9b7c1.tar.xz |
odroid-c2: enable I2C
Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Diffstat (limited to 'board/amlogic')
-rw-r--r-- | board/amlogic/odroid-c2/odroid-c2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/amlogic/odroid-c2/odroid-c2.c b/board/amlogic/odroid-c2/odroid-c2.c index eac04d8178..a5ea8dc5af 100644 --- a/board/amlogic/odroid-c2/odroid-c2.c +++ b/board/amlogic/odroid-c2/odroid-c2.c @@ -35,6 +35,7 @@ int misc_init_r(void) GXBB_ETH_REG_0_CLK_EN); /* Enable power and clock gate */ + setbits_le32(GXBB_GCLK_MPEG_0, GXBB_GCLK_MPEG_0_I2C); setbits_le32(GXBB_GCLK_MPEG_1, GXBB_GCLK_MPEG_1_ETH); clrbits_le32(GXBB_MEM_PD_REG_0, GXBB_MEM_PD_REG_0_ETH_MASK); |