updates the at91 main_clock calculation
authorJens Scharsig <js_at_ng@scharsoft.de>
Sun, 14 Feb 2010 11:20:43 +0000 (12:20 +0100)
committerTom Rix <Tom.Rix@windriver.com>
Sun, 7 Mar 2010 18:36:36 +0000 (12:36 -0600)
commit7cedb29872069e782f9f97cef4ab1232736e4c85
treee8b3284e4848002ca3da82daf4546eba7dac513f
parent637833c2d669f9a370706e275e7103454c3c83ec
updates the at91 main_clock calculation

* updates the conditional main_clock calculation (if AT91_MAIN_CLOCK defined) to c structure SoC access
 * add need register flags

Signed-off-by: Jens Scharsig <js_at_ng@scharsoft.de>
cpu/arm926ejs/at91/clock.c
include/asm-arm/arch-at91/at91_pmc.h