summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2016-08-11 14:02:43 +0800
committerStefano Babic <sbabic@denx.de>2016-10-04 15:41:00 +0200
commitcdf33c9403d4856c69908f35dd381486c7dc1e2c (patch)
tree61c6f8e998b0762c76efa5e635ea26caa7f539f0
parent988acd2d4c8ba81a6c6ac7ec5270b96de5170285 (diff)
imx: mx6ull: skip setting ahb clock
Rom already initialized clock at 396M and 132M for arm core and ahb, so skip setting them again in U-Boot. Signed-off-by: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Stefano Babic <sbabic@denx.de>
-rw-r--r--arch/arm/cpu/armv7/mx6/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index 5b2a0513ab..fef4eb72ee 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -343,7 +343,7 @@ int arch_cpu_init(void)
*/
init_bandgap();
- if (!IS_ENABLED(CONFIG_MX6UL)) {
+ if (!is_mx6ul() && !is_mx6ull()) {
/*
* When low freq boot is enabled, ROM will not set AHB
* freq, so we need to ensure AHB freq is 132MHz in such