[U-Boot] [PATCH v2] video: ipuv3_fb: skip IPU shutdown if IPU was not enabled before

Anatolij Gustschin agust at denx.de
Tue Sep 5 11:22:40 UTC 2017


On Mon,  4 Sep 2017 23:58:17 +0200
Anatolij Gustschin agust at denx.de wrote:

> Boards can skip display interface init using board_video_skip().
> If display interface was not initialized (e.g. no ipuv3 framebuffer
> registered or IPU clock disabled), booting Linux stops due to the
> crash in IPU shutdown function, when accessing IPU registers.
> Check IPU clock and skip shutdown if clock is not enabled.
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
> Changes in v2:
> - fixed build breakage when building mx5 targets
> 
>  drivers/video/ipu.h          | 1 +
>  drivers/video/ipu_common.c   | 5 +++++
>  drivers/video/mxc_ipuv3_fb.c | 3 +++
>  3 files changed, 9 insertions(+)

Applied to u-boot-video/master.

--
Anatolij


More information about the U-Boot mailing list