diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-09-23 07:30:55 +0000 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2012-09-24 10:48:58 +0200 |
commit | e1eb75b535fd3976cf68aa29a970efb9bdd138be (patch) | |
tree | 209322ad2cade181b937fc44388d82a709a222b3 /arch/arm | |
parent | 5f8e17ce158894b46acb25b975c579fae2350523 (diff) | |
download | u-boot-imx-e1eb75b535fd3976cf68aa29a970efb9bdd138be.zip u-boot-imx-e1eb75b535fd3976cf68aa29a970efb9bdd138be.tar.gz u-boot-imx-e1eb75b535fd3976cf68aa29a970efb9bdd138be.tar.bz2 |
i.MX: shut down video before launch of O/S
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/imx-common/cpu.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c index fa1d468..a10d12d 100644 --- a/arch/arm/imx-common/cpu.c +++ b/arch/arm/imx-common/cpu.c @@ -30,6 +30,7 @@ #include <asm/arch/clock.h> #include <asm/arch/sys_proto.h> #include <asm/arch/crm_regs.h> +#include <ipu_pixfmt.h> #ifdef CONFIG_FSL_ESDHC #include <fsl_esdhc.h> @@ -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 |