mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-10-05 02:50:44 +09:00
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>
This commit is contained in:
parent
988acd2d4c
commit
cdf33c9403
@ -343,7 +343,7 @@ int arch_cpu_init(void)
|
|||||||
*/
|
*/
|
||||||
init_bandgap();
|
init_bandgap();
|
||||||
|
|
||||||
if (!IS_ENABLED(CONFIG_MX6UL)) {
|
if (!is_mx6ul() && !is_mx6ull()) {
|
||||||
/*
|
/*
|
||||||
* When low freq boot is enabled, ROM will not set AHB
|
* When low freq boot is enabled, ROM will not set AHB
|
||||||
* freq, so we need to ensure AHB freq is 132MHz in such
|
* freq, so we need to ensure AHB freq is 132MHz in such
|
||||||
|
Loading…
Reference in New Issue
Block a user