diff options
author | Nitin Garg <nitin.garg@freescale.com> | 2014-05-27 10:36:06 -0500 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-05-27 22:15:10 -0500 |
commit | 748eac71fde78aa0c2e8cb3a3bab94bd994c06f5 (patch) | |
tree | 3ccd5be6ad3a4b21018a00fee6426b8612e6d83a /arch/arm/imx-common | |
parent | 441fd86d055c57b79257943449a8101b83e98c61 (diff) | |
download | u-boot-imx-748eac71fde78aa0c2e8cb3a3bab94bd994c06f5.zip u-boot-imx-748eac71fde78aa0c2e8cb3a3bab94bd994c06f5.tar.gz u-boot-imx-748eac71fde78aa0c2e8cb3a3bab94bd994c06f5.tar.bz2 |
ENGR00315499-5: Support i.MX6 1.2GHz via LDO bypass
Add check for 1.2GHz core speed. If Speed grading fuse is for 1.2GHz,
enable LDO bypass and setup PMIC voltages. LDO bypass is dependent
on the flatten device tree file.
Signed-off-by: Nitin Garg <nitin.garg@freescale.com>
Diffstat (limited to 'arch/arm/imx-common')
-rw-r--r-- | arch/arm/imx-common/cpu.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/imx-common/cpu.c b/arch/arm/imx-common/cpu.c index a8aeded..341a6ac 100644 --- a/arch/arm/imx-common/cpu.c +++ b/arch/arm/imx-common/cpu.c @@ -178,10 +178,13 @@ u32 get_ahb_clk(void) return get_periph_clk() / (ahb_podf + 1); } -#if defined(CONFIG_VIDEO_IPUV3) void arch_preboot_os(void) { +#if defined(CONFIG_LDO_BYPASS_CHECK) + ldo_mode_set(check_ldo_bypass()); +#endif +#if defined(CONFIG_VIDEO_IPUV3) /* disable video before launching O/S */ ipuv3_fb_shutdown(); -} #endif +} |