mirror of
https://github.com/Stichting-MINIX-Research-Foundation/u-boot.git
synced 2025-09-09 12:13:00 -04:00
i.MX: shut down video before launch of O/S
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
This commit is contained in:
parent
5f8e17ce15
commit
e1eb75b535
@ -30,6 +30,7 @@
|
|||||||
#include <asm/arch/clock.h>
|
#include <asm/arch/clock.h>
|
||||||
#include <asm/arch/sys_proto.h>
|
#include <asm/arch/sys_proto.h>
|
||||||
#include <asm/arch/crm_regs.h>
|
#include <asm/arch/crm_regs.h>
|
||||||
|
#include <ipu_pixfmt.h>
|
||||||
|
|
||||||
#ifdef CONFIG_FSL_ESDHC
|
#ifdef CONFIG_FSL_ESDHC
|
||||||
#include <fsl_esdhc.h>
|
#include <fsl_esdhc.h>
|
||||||
@ -138,3 +139,11 @@ u32 get_ahb_clk(void)
|
|||||||
|
|
||||||
return get_periph_clk() / (ahb_podf + 1);
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user