summaryrefslogtreecommitdiff
path: root/board/freescale
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-11-20 20:26:03 -0200
committerStefano Babic <sbabic@denx.de>2013-11-27 09:39:21 +0100
commit56f9cfbb48b56dfc08debaa78624aa7522520c0b (patch)
treebc1e9d0fed90282652dd559b2ba493f1705e10ed /board/freescale
parent3e9cbbbb2b0787abf3e000e09886bff8c003d66f (diff)
downloadu-boot-imx-56f9cfbb48b56dfc08debaa78624aa7522520c0b.zip
u-boot-imx-56f9cfbb48b56dfc08debaa78624aa7522520c0b.tar.gz
u-boot-imx-56f9cfbb48b56dfc08debaa78624aa7522520c0b.tar.bz2
mx51evk: Fix pmic_init() argument
On mx51evk 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> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'board/freescale')
-rw-r--r--board/freescale/mx51evk/mx51evk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c
index d01465e..9b43c84 100644
--- a/board/freescale/mx51evk/mx51evk.c
+++ b/board/freescale/mx51evk/mx51evk.c
@@ -174,7 +174,7 @@ static void power_init(void)
struct pmic *p;
int ret;
- ret = pmic_init(I2C_PMIC);
+ ret = pmic_init(CONFIG_FSL_PMIC_BUS);
if (ret)
return;