From: Eric Nelson Date: Sun, 23 Sep 2012 07:30:55 +0000 (+0000) Subject: i.MX: shut down video before launch of O/S X-Git-Tag: v2012.10-rc3~10^2~68^2~1 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e1eb75b535fd3976cf68aa29a970efb9bdd138be;p=oweals%2Fu-boot.git i.MX: shut down video before launch of O/S Signed-off-by: Eric Nelson --- diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c index fa1d468041..a10d12d97d 100644 --- a/arch/arm/imx-common/cpu.c +++ b/arch/arm/imx-common/cpu.c @@ -30,6 +30,7 @@ #include #include #include +#include #ifdef CONFIG_FSL_ESDHC #include @@ -138,3 +139,11 @@ u32 get_ahb_clk(void) return get_periph_clk() / (ahb_podf + 1); } + +#if defined(CONFIG_VIDEO_IPUV3) +void arch_preboot_os(void) +{ + /* disable video before launching O/S */ + ipuv3_fb_shutdown(); +} +#endif