]> git.dujemihanovic.xyz Git - u-boot.git/commit
mx51evk: Fix pmic_init() argument
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 20 Nov 2013 22:26:03 +0000 (20:26 -0200)
committerStefano Babic <sbabic@denx.de>
Wed, 27 Nov 2013 08:39:21 +0000 (09:39 +0100)
commit56f9cfbb48b56dfc08debaa78624aa7522520c0b
treebc1e9d0fed90282652dd559b2ba493f1705e10ed
parent3e9cbbbb2b0787abf3e000e09886bff8c003d66f
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>
board/freescale/mx51evk/mx51evk.c