ARM: atmel: spl: make initialization more stable
authorBo Shen <voice.shen@atmel.com>
Fri, 24 Oct 2014 08:13:25 +0000 (16:13 +0800)
committerTom Rini <trini@ti.com>
Mon, 17 Nov 2014 13:47:15 +0000 (08:47 -0500)
commita5f35d63f2ec0f95162da924d346922d5888aa38
tree37808e437cc7e708c9825ee31c21992cc86f405e
parent59158ba39db9463feddefa54c243da07987b4a09
ARM: atmel: spl: make initialization more stable

We need to make sure the main clock ready field in MCFR is set
after 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