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:
56f9cfb
)
mx31pdk: Fix pmic_init() argument
author
Fabio Estevam
<fabio.estevam@freescale.com>
Wed, 20 Nov 2013 22:26:04 +0000
(20:26 -0200)
committer
Stefano Babic
<sbabic@denx.de>
Wed, 27 Nov 2013 08:39:21 +0000
(09:39 +0100)
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>
board/freescale/mx31pdk/mx31pdk.c
patch
|
blob
|
history
diff --git
a/board/freescale/mx31pdk/mx31pdk.c
b/board/freescale/mx31pdk/mx31pdk.c
index 148b4f47a51f5e01c3b26f16d89263a086f9a630..13b9d51dd181be9e3250384bc15a38be8517f916 100644
(file)
--- 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;