projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e785c6
)
efikamx: Fix pmic_init() argument
author
Fabio Estevam
<fabio.estevam@freescale.com>
Wed, 20 Nov 2013 22:26:05 +0000
(20:26 -0200)
committer
Stefano Babic
<sbabic@denx.de>
Wed, 27 Nov 2013 08:39:21 +0000
(09:39 +0100)
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>
board/genesi/mx51_efikamx/efikamx.c
patch
|
blob
|
history
diff --git
a/board/genesi/mx51_efikamx/efikamx.c
b/board/genesi/mx51_efikamx/efikamx.c
index 76753f90f6b4620dbaeb965d0f82be6a73b2f09d..16769e53327edf187cfced3c397d8a9b9e7243d0 100644
(file)
--- 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;