tegra: Init clocks even when SPL did not run
At present early clock init happens in SPL. If SPL did not run (because
for example U-Boot is chain-loaded from another boot loader) then the
clocks are not set as U-Boot expects.
Add a function to detect this and call the early clock init in U-Boot
proper.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Showing
- arch/arm/include/asm/arch-tegra/clock.h 3 additions, 0 deletionsarch/arm/include/asm/arch-tegra/clock.h
- arch/arm/mach-tegra/board2.c 3 additions, 0 deletionsarch/arm/mach-tegra/board2.c
- arch/arm/mach-tegra/clock.c 5 additions, 0 deletionsarch/arm/mach-tegra/clock.c
- arch/arm/mach-tegra/tegra124/clock.c 18 additions, 0 deletionsarch/arm/mach-tegra/tegra124/clock.c
Loading
Please register or sign in to comment