2008-08-14 Joel Sherrill <joel.sherrill@oarcorp.com>

* startup/bspstart.c: Time was running too slow with it taking 10
	seconds for RTEMS to advance 5.
This commit is contained in:
Joel Sherrill
2008-08-14 20:07:34 +00:00
parent 4daebbd022
commit e73f9f6b19
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
2008-08-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* startup/bspstart.c: Time was running too slow with it taking 10
seconds for RTEMS to advance 5.
2008-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, preinstall.am: Add dummy linkcmds so autoconf tests work

View File

@@ -142,7 +142,7 @@ void bsp_start( void)
#ifdef HAS_UBOOT
BSP_bus_frequency = mpc83xx_uboot_board_info.bi_busfreq;
bsp_clicks_per_usec = mpc83xx_uboot_board_info.bi_intfreq / 4000000;
bsp_clicks_per_usec = mpc83xx_uboot_board_info.bi_intfreq / 8000000;
#else /* HAS_UBOOT */
BSP_bus_frequency = BSP_CLKIN_FRQ * BSP_SYSPLL_MF / BSP_SYSPLL_CKID;
bsp_clicks_per_usec = BSP_bus_frequency / 1000000;