u-boot-brain/arch
Wenyou Yang 2b21cf55cc ARM: at91: spl: Add mck function to lower rate while switching
Refer to the commit 70f8c8316ad(PMC: add new mck function to lower
rate while switching) from AT91Bootstrap.

While switching to a lower clock source, we must switch the clock
source first instead of last. Otherwise, we could end up with
too high frequency on internal bus and peripherals.
This happens on SAMA5D2 as exitting from the ROM code.

Add a function pmc_mck_init_down() to allow this sequence.

Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2017-09-14 16:02:44 -04:00
..
arc env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
arm ARM: at91: spl: Add mck function to lower rate while switching 2017-09-14 16:02:44 -04:00
m68k m68k: add board stmark2, mcf5441x based 2017-08-18 01:26:52 +02:00
microblaze env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
mips env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
nds32 dma: import linux/dma-direction.h to consolidate enum dma_data_direction 2017-09-12 18:02:23 -04:00
nios2 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
powerpc powerpc: Rework interrupt_init_cpu() 2017-08-26 14:56:08 -04:00
sandbox dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in dm_do_test 2017-09-11 21:43:58 -06:00
sh sh: Fix linking of ms7722se 2017-08-27 11:50:16 -04:00
x86 dma: import linux/dma-direction.h to consolidate enum dma_data_direction 2017-09-12 18:02:23 -04:00
xtensa env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig usb: net: migrate USB Ethernet adapters to Kconfig 2017-09-08 10:23:00 -04:00