]> code.ossystems Code Review - bsp/u-boot.git/commit
mx6cuboxi: Avoid calling setup_display() from SPL code
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 23 Sep 2017 02:45:31 +0000 (23:45 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Sat, 23 Sep 2017 21:07:22 +0000 (18:07 -0300)
commita01e041d10a58d91d682b89969c1aef8c8e1c72d
treef97a25bbac5d686e06bf6f445d0e81fa6b944df4
parent939d30becd517a75122a441278b9cd29b7d8d593
mx6cuboxi: 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>
(cherry picked from commit 23404c93e74d7f15a5731fadccb689c545b45b98)
board/solidrun/mx6cuboxi/mx6cuboxi.c