commit | 8344ebdd7e2bf127e665116a7523a63aedefa261 | [log] [tgz] |
---|---|---|
author | Wenyou Yang <wenyou.yang@microchip.com> | Wed Sep 13 14:58:50 2017 +0800 |
committer | Tom Rini <trini@konsulko.com> | Thu Sep 14 16:02:44 2017 -0400 |
tree | ed8e76c277b06a93ea1eb708b6cd7288dc1c6e1b | |
parent | 95a5018e64e2c7697692405e2403cc0fc0367c81 [diff] |
board: sama5d2_xplained: Make SPL work on spiflash Because before switching to a lower clock source, we must switch the clock source first instead of last. So before configuring the PMC_MCKR register, invoke at91_mck_init_down() first. As said in datasheet, the the size of SPL must not exceed the maximum size allowed(64Kbytes). Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com> Reviewed-by: Simon Glass <sjg@chromium.org>