correct DEC clock rate for non-U-Boot case

This commit is contained in:
Thomas Doerfler
2008-09-22 11:40:19 +00:00
parent 27fef33625
commit 8efda6a196
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2008-09-22 Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
* startup/bspstart.c: correct DEC click rate for non-U-Boot case
2008-09-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* startup/linkcmds.base: Fixed wrong section size symbols.

View File

@@ -126,7 +126,7 @@ void bsp_start( void)
bsp_clicks_per_usec = bsp_uboot_board_info.bi_busfreq / 4000000;
#else /* HAS_UBOOT */
BSP_bus_frequency = BSP_CLKIN_FRQ * BSP_SYSPLL_MF / BSP_SYSPLL_CKID;
bsp_clicks_per_usec = BSP_bus_frequency / 1000000;
bsp_clicks_per_usec = BSP_bus_frequency / 4000000;
#endif /* HAS_UBOOT */
/* Initialize exception handler */