apalis_imx6: Avoid calling setup_display() from SPL code
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 23 Sep 2017 02:45:32 +0000 (23:45 -0300)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Oct 2017 15:30:32 +0000 (17:30 +0200)
commitf89bfe7c17a3018315b4f8f58ddce22ff9aeb56c
tree53be076aad12429c576b2bdec790c014a4e6d3b9
parentae40e82eeff7a3c71c375c183e9fe817b7280a1c
apalis_imx6: Avoid calling setup_display() from SPL code

There is no need call setup_display() from SPL code, so move it to
board_init(), which executes only in U-Boot proper.

Reported-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
board/toradex/apalis_imx6/apalis_imx6.c