Re: [U-Boot] [PATCH v5 4/9] ARM: at91: spl: Add mck function to lower rate while switching

2017-09-12 Thread Simon Glass
On 12 September 2017 at 20:10, Wenyou Yang wrote: > 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.

[U-Boot] [PATCH v5 4/9] ARM: at91: spl: Add mck function to lower rate while switching

2017-09-12 Thread Wenyou Yang
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