MLK-14958 mx6slevk: Move setup_spi to board_init
authorYe Li <ye.li@nxp.com>
Mon, 22 May 2017 08:39:48 +0000 (03:39 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:36:48 +0000 (02:36 +0800)
commit21800d1677e7a9d8d61a250e3cfb452fbaace328
tree079fa41d0a22bff857530446a28baac8464b9cdd
parent070c19c0fdce207465e5e7de2265c0269ef1ec2d
MLK-14958 mx6slevk: Move setup_spi to board_init

Current setup_spi is in board_early_init_f which is too early, so gpio_request
can't reserve the gpio successfully. Move it to board_init.

Signed-off-by: Ye Li <ye.li@nxp.com>
board/freescale/mx6slevk/mx6slevk.c