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

Tom Rini trini at konsulko.com
Fri Sep 15 00:47:54 UTC 2017


On Wed, Sep 13, 2017 at 02:58:49PM +0800, 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. 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 at microchip.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170914/42b7c313/attachment.sig>


More information about the U-Boot mailing list