diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-09-22 23:45:29 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2017-10-12 17:30:32 +0200 |
commit | 5e5b20c89fc91759411af4180fa3d31c79186512 (patch) | |
tree | e1a719dce02f7dff56807180aeada9a7daabadb4 /board/congatec | |
parent | b5d959910b75219b7b64dbc46145744616a0c001 (diff) |
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>
Diffstat (limited to 'board/congatec')
-rw-r--r-- | board/congatec/cgtqmx6eval/cgtqmx6eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c b/board/congatec/cgtqmx6eval/cgtqmx6eval.c index 2ed66d3ba3..d42cc941d6 100644 --- a/board/congatec/cgtqmx6eval/cgtqmx6eval.c +++ b/board/congatec/cgtqmx6eval/cgtqmx6eval.c @@ -683,8 +683,6 @@ int overwrite_console(void) int board_early_init_f(void) { setup_iomux_uart(); - setup_display(); - #ifdef CONFIG_MXC_SPI setup_spi(); #endif @@ -702,6 +700,8 @@ int board_init(void) else setup_i2c(1, CONFIG_SYS_I2C_SPEED, 0x7f, &mx6dl_i2c_pad_info1); + setup_display(); + #ifdef CONFIG_SATA setup_sata(); #endif |