ARM: atmel: switch to main crystal osc for SPL boot
authorBo Shen <voice.shen@atmel.com>
Wed, 19 Mar 2014 06:48:44 +0000 (14:48 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Mon, 26 May 2014 22:10:40 +0000 (00:10 +0200)
commit12bbc0ba813463fd3c7b433c37abcd3f67b37ff3
tree52e65f5a83053296b9f3e75c41f4b5f41dfc4f38
parent49692c5f517d8e44ed9db0de778728fe7d2a300c
ARM: atmel: switch to main crystal osc for SPL boot

If without switch to main crystal oscillator, the sama5d3 SoC will
use internal on chip RC oscillator.
In order to get better accuracy, switch to main crystal oscillator.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
arch/arm/cpu/at91-common/spl.c
arch/arm/include/asm/arch-at91/at91_pmc.h