diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-11-20 20:26:05 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-11-27 09:39:21 +0100 |
commit | d74b331f2ff083252d53b136f3cec9cb1ca2fc9e (patch) | |
tree | 82c436382803c39f5ec4c41921cc828db3f01715 | |
parent | 4e785c6ae90724b8e0b9610a61e6afc0a8f4379d (diff) | |
download | u-boot-imx-d74b331f2ff083252d53b136f3cec9cb1ca2fc9e.zip u-boot-imx-d74b331f2ff083252d53b136f3cec9cb1ca2fc9e.tar.gz u-boot-imx-d74b331f2ff083252d53b136f3cec9cb1ca2fc9e.tar.bz2 |
efikamx: Fix pmic_init() argument
On efikamx 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>
-rw-r--r-- | board/genesi/mx51_efikamx/efikamx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/genesi/mx51_efikamx/efikamx.c b/board/genesi/mx51_efikamx/efikamx.c index 76753f9..16769e5 100644 --- a/board/genesi/mx51_efikamx/efikamx.c +++ b/board/genesi/mx51_efikamx/efikamx.c @@ -159,7 +159,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; |