]> git.ipfire.org Git - people/ms/u-boot.git/commit
mx31pdk: Fix pmic_init() argument
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 20 Nov 2013 22:26:04 +0000 (20:26 -0200)
committerStefano Babic <sbabic@denx.de>
Wed, 27 Nov 2013 08:39:21 +0000 (09:39 +0100)
commit4e785c6ae90724b8e0b9610a61e6afc0a8f4379d
treef1ce0310b1a80967b91c9972b2937b1e4482cd3d
parent56f9cfbb48b56dfc08debaa78624aa7522520c0b
mx31pdk: Fix pmic_init() argument

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