efikamx: Fix pmic_init() argument
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 20 Nov 2013 22:26:05 +0000 (20:26 -0200)
committerStefano Babic <sbabic@denx.de>
Wed, 27 Nov 2013 08:39:21 +0000 (09:39 +0100)
commitd74b331f2ff083252d53b136f3cec9cb1ca2fc9e
tree82c436382803c39f5ec4c41921cc828db3f01715
parent4e785c6ae90724b8e0b9610a61e6afc0a8f4379d
efikamx: Fix pmic_init() argument

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