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>
Showing
- include/asm-blackfin/blackfin_local.h 2 additions, 0 deletionsinclude/asm-blackfin/blackfin_local.h
- lib_blackfin/Makefile 1 addition, 0 deletionslib_blackfin/Makefile
- lib_blackfin/board.c 0 additions, 44 deletionslib_blackfin/board.c
- lib_blackfin/clocks.c 77 additions, 0 deletionslib_blackfin/clocks.c
Loading
Please register or sign in to comment