mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
- fix mxsfb regression on pico-imx7d and imx7d-sabre
-----BEGIN PGP SIGNATURE----- iGwEABECACwWIQSC4hxrSoIUVfFO0kRM6ATMmsalXAUCXdruVQ4cYWd1c3RAZGVu eC5kZQAKCRBM6ATMmsalXIkEAJ9uMUozRhgttMHawSy2vzVa82wy/gCfRGXMRU1N 4iggSdjV9HJQpErcDS0= =SbGK -----END PGP SIGNATURE----- Merge tag 'fixes-for-v2020.01' of https://gitlab.denx.de/u-boot/custodians/u-boot-video - fix mxsfb regression on pico-imx7d and imx7d-sabre
This commit is contained in:
commit
e3281aec74
1 changed files with 3 additions and 3 deletions
|
@ -57,6 +57,9 @@ static void mxs_lcd_init(u32 fb_addr, struct ctfb_res_modes *mode, int bpp)
|
|||
uint32_t word_len = 0, bus_width = 0;
|
||||
uint8_t valid_data = 0;
|
||||
|
||||
/* Kick in the LCDIF clock */
|
||||
mxs_set_lcdclk(MXS_LCDIF_BASE, PS2KHZ(mode->pixclock));
|
||||
|
||||
/* Restart the LCDIF block */
|
||||
mxs_reset_block(®s->hw_lcdif_ctrl_reg);
|
||||
|
||||
|
@ -127,9 +130,6 @@ static void mxs_lcd_init(u32 fb_addr, struct ctfb_res_modes *mode, int bpp)
|
|||
/* FIFO cleared */
|
||||
writel(LCDIF_CTRL1_FIFO_CLEAR, ®s->hw_lcdif_ctrl1_clr);
|
||||
|
||||
/* Kick in the LCDIF clock */
|
||||
mxs_set_lcdclk(MXS_LCDIF_BASE, PS2KHZ(mode->pixclock));
|
||||
|
||||
/* RUN! */
|
||||
writel(LCDIF_CTRL_RUN, ®s->hw_lcdif_ctrl_set);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue