mirror of
https://xff.cz/git/u-boot/
synced 2025-09-04 02:02:08 +02:00
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>
This commit is contained in:
committed by
Stefano Babic
parent
3e9cbbbb2b
commit
56f9cfbb48
@@ -174,7 +174,7 @@ static void power_init(void)
|
|||||||
struct pmic *p;
|
struct pmic *p;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = pmic_init(I2C_PMIC);
|
ret = pmic_init(CONFIG_FSL_PMIC_BUS);
|
||||||
if (ret)
|
if (ret)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user