colibri_imx6: Avoid calling setup_display() from SPL code
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 23 Sep 2017 02:45:33 +0000 (23:45 -0300)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Oct 2017 15:30:32 +0000 (17:30 +0200)
commit464c988a1dd5356b84a375539d1a8d42c518a2db
tree79c41ebdddd4b85e8d5b133079e006ec0dde1e40
parentf89bfe7c17a3018315b4f8f58ddce22ff9aeb56c
colibri_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/colibri_imx6/colibri_imx6.c