diff options
author | Wenyou Yang <wenyou.yang@microchip.com> | 2017-09-13 14:58:50 +0800 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-14 16:02:44 -0400 |
commit | 23a19e03589c0b1c4daec082f33a1ecdbf5a4475 (patch) | |
tree | ed8e76c277b06a93ea1eb708b6cd7288dc1c6e1b /arch/arm/mach-at91/spl.c | |
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>
Diffstat (limited to 'arch/arm/mach-at91/spl.c')
0 files changed, 0 insertions, 0 deletions