commit | 23a19e03589c0b1c4daec082f33a1ecdbf5a4475 | [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 | 2b21cf55cc767bc1303f22c3f6f7b9d6f0845c02 [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>