summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>2012-09-13 19:08:04 +0000
committerHeiko Schocher <hs@denx.de>2012-10-16 05:47:21 +0200
commit650f95b0c7ee4a43a3dc3e64b1074f02a6b4100e (patch)
tree986dccaded0383a36309bacd8c9dfe5f498ba037 /board
parent937b6862def9f2545f7f804441919b767be105b9 (diff)
downloadu-boot-650f95b0c7ee4a43a3dc3e64b1074f02a6b4100e.tar.gz
u-boot-650f95b0c7ee4a43a3dc3e64b1074f02a6b4100e.tar.bz2
u-boot-650f95b0c7ee4a43a3dc3e64b1074f02a6b4100e.zip
arm: rmobile: kzm9g: enable I2C2
Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Diffstat (limited to 'board')
-rw-r--r--board/kmc/kzm9g/kzm9g.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c
index 4bfecb67e6..54f25e097c 100644
--- a/board/kmc/kzm9g/kzm9g.c
+++ b/board/kmc/kzm9g/kzm9g.c
@@ -344,6 +344,8 @@ int board_init(void)
gpio_direction_output(GPIO_PORT15, 1);
/* I2C */
+ gpio_request(GPIO_FN_PORT237_I2C_SCL2, NULL);
+ gpio_request(GPIO_FN_PORT236_I2C_SDA2, NULL);
gpio_request(GPIO_FN_PORT27_I2C_SCL3, NULL);
gpio_request(GPIO_FN_PORT28_I2C_SDA3, NULL);