[ARM] 4294/1: ns9xxx: Determine system clock from PLL register settings
authorUwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Wed, 28 Mar 2007 17:06:41 +0000 (18:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Apr 2007 19:51:11 +0000 (20:51 +0100)
commitf86bd61fd70af02e666a893aaf22653181423e99
tree7c0d4cc8cb2ae6f398cbb731883362f75b4c8d64
parent940089e007e8ed33295ef408b39a53e5ad518ebd
[ARM] 4294/1: ns9xxx: Determine system clock from PLL register settings

The function attribute const is abused here as the PLL register is read.  But I
think this is all right because the PLL register cannot change without a reset.

Note: This patch depends on 4293/1

Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
include/asm-arm/arch-ns9xxx/clock.h