From e1eb75b535fd3976cf68aa29a970efb9bdd138be Mon Sep 17 00:00:00 2001 From: Eric Nelson Date: Sun, 23 Sep 2012 07:30:55 +0000 Subject: [PATCH] i.MX: shut down video before launch of O/S Signed-off-by: Eric Nelson --- arch/arm/imx-common/cpu.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.39.2