]> git.ipfire.org Git - people/ms/u-boot.git/commit
Blackfin: cache core/system clock values
authorMike Frysinger <vapier@gentoo.org>
Sat, 25 Oct 2008 02:48:47 +0000 (22:48 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 2 Feb 2009 17:24:42 +0000 (12:24 -0500)
commit40599239e7875b39e2a5c12e6545992041c72c52
tree1cb9d7601f914acbf80c467ec7710abc61756258
parent6957a6209b02f6b69607fc47425f13731cc477f1
Blackfin: cache core/system clock values

Calculating the clocks requires a bit of calls to gcc math functions, so
cache the values after the first run since they'll most likely never
change once U-Boot is up and running.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
include/asm-blackfin/blackfin_local.h
lib_blackfin/Makefile
lib_blackfin/board.c
lib_blackfin/clocks.c [new file with mode: 0644]