summaryrefslogtreecommitdiffstats
path: root/board/freescale/mx31pdk/mx31pdk.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-11-20 20:26:04 -0200
committerStefano Babic <sbabic@denx.de>2013-11-27 09:39:21 +0100
commit4e785c6ae90724b8e0b9610a61e6afc0a8f4379d (patch)
treef1ce0310b1a80967b91c9972b2937b1e4482cd3d /board/freescale/mx31pdk/mx31pdk.c
parent56f9cfbb48b56dfc08debaa78624aa7522520c0b (diff)
downloadtalos-obmc-uboot-4e785c6ae90724b8e0b9610a61e6afc0a8f4379d.tar.gz
talos-obmc-uboot-4e785c6ae90724b8e0b9610a61e6afc0a8f4379d.zip
mx31pdk: Fix pmic_init() argument
On mx31pdk board the PMIC is connected via SPI interface, so it does not make sense to pass I2C_PMIC into the pmic_init() interface. Pass the SPI bus number via CONFIG_FSL_PMIC_BUS option instead. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'board/freescale/mx31pdk/mx31pdk.c')
-rw-r--r--board/freescale/mx31pdk/mx31pdk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx31pdk/mx31pdk.c b/board/freescale/mx31pdk/mx31pdk.c
index 148b4f47a5..13b9d51dd1 100644
--- a/board/freescale/mx31pdk/mx31pdk.c
+++ b/board/freescale/mx31pdk/mx31pdk.c
@@ -85,7 +85,7 @@ int board_late_init(void)
struct pmic *p;
int ret;
- ret = pmic_init(I2C_PMIC);
+ ret = pmic_init(CONFIG_FSL_PMIC_BUS);
if (ret)
return ret;
OpenPOWER on IntegriCloud