ARM: atmel: arm926ejs: fix clock configuration
authorBo Shen <voice.shen@atmel.com>
Fri, 27 Mar 2015 06:23:33 +0000 (14:23 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 31 Mar 2015 23:04:29 +0000 (01:04 +0200)
commit72cb3b6b54e99959f84456e448aa3db9f776f8a5
tree0c5951ef1b5a4ad9ff4b48957472812324e45aff
parent23ac62d4c72c9be762cb8613b8269599295f7c88
ARM: atmel: arm926ejs: fix clock configuration

Config MCKR according to the datasheet sequence, or else it
will cause the MCKR configuration failed.

Remove timeout checking for clock configuration, if configure
the clock failed, let the system hang while not run in wrong
clock configuration.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Tested-by: Heiko Schocher <hs@denx.de>
arch/arm/mach-at91/arm926ejs/clock.c