diff options
author | Ye Li <ye.li@nxp.com> | 2016-03-07 15:37:34 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 14:04:41 +0800 |
commit | 8f8699a8845c3f1a838d0e8a258ceebcc60f5622 (patch) | |
tree | 9bb37fa7e1d5b846e87e59c0ad6cdf94f882153b /include | |
parent | e1c8247f3460cc5742d4470731581f79d3a64198 (diff) | |
download | u-boot-imx-8f8699a8845c3f1a838d0e8a258ceebcc60f5622.zip u-boot-imx-8f8699a8845c3f1a838d0e8a258ceebcc60f5622.tar.gz u-boot-imx-8f8699a8845c3f1a838d0e8a258ceebcc60f5622.tar.bz2 |
MLK-12495 mx6: Add LDO bypass support
Port LDO bypass support from v2015 to support the features:
1. 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.
2. We set WDOG_B in set_anatop_bypass() before, because it is the only case, but now
on i.mx6sabreauto board, we didn't use ldo-bypass mode, but have to use WDOG_B to
reboot whole board, so split these code to independent function so that board file
can call it freely.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 5b87d04dba66fa45375d59648838ef89f559f75d)
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6_common.h | 4 | ||||
-rw-r--r-- | include/configs/mx6ul_14x14_evk.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index 138dd62..f62a7df 100644 --- a/include/configs/mx6_common.h +++ b/include/configs/mx6_common.h @@ -109,4 +109,8 @@ defined(CONFIG_MX6DL)) && !defined(CONFIG_MX6S) #endif #endif +/* LDO Bypass */ +#ifndef CONFIG_MX6SLL +#define CONFIG_LDO_BYPASS_CHECK +#endif #endif diff --git a/include/configs/mx6ul_14x14_evk.h b/include/configs/mx6ul_14x14_evk.h index f56783e..cb78e18 100644 --- a/include/configs/mx6ul_14x14_evk.h +++ b/include/configs/mx6ul_14x14_evk.h @@ -24,6 +24,8 @@ #else #define PHYS_SDRAM_SIZE SZ_512M #define BOOTARGS_CMA_SIZE "" +/* DCDC used on 14x14 EVK, no PMIC */ +#undef CONFIG_LDO_BYPASS_CHECK #endif /* SPL options */ |