cgtqmx6eval: Avoid calling setup_display() from SPL code
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 23 Sep 2017 02:45:29 +0000 (23:45 -0300)
committerStefano Babic <sbabic@denx.de>
Thu, 12 Oct 2017 15:30:32 +0000 (17:30 +0200)
commit5e5b20c89fc91759411af4180fa3d31c79186512
treee1a719dce02f7dff56807180aeada9a7daabadb4
parentb5d959910b75219b7b64dbc46145744616a0c001
cgtqmx6eval: 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>
Reviewed-by: Stefano Babic <sbabic@denx.de>
board/congatec/cgtqmx6eval/cgtqmx6eval.c