2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>

* s3c24xx/clock/clockdrv.c: Use
	rtems_configuration_get_microseconds_per_tick() rather than obsolete
	BSP_Configuration reference.
This commit is contained in:
Joel Sherrill
2008-05-06 22:23:47 +00:00
parent 00d25f312b
commit e6a4446812
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2008-05-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* s3c24xx/clock/clockdrv.c: Use
rtems_configuration_get_microseconds_per_tick() rather than obsolete
BSP_Configuration reference.
2008-05-06 Ray Xu <rayx.cn@gmail.com>
* Makefile.am, configure.ac, preinstall.am, s3c2400/include/s3c2400.h:

View File

@@ -80,7 +80,7 @@ rtems_irq_connect_data clock_isr_data = {BSP_INT_TIMER4,
freq = get_PCLK(); \
/* set TIMER4 counter, input freq=PLCK/16/16Mhz*/ \
freq = (freq /16)/16; \
rTCNTB4 = ((freq / 1000) * BSP_Configuration.microseconds_per_tick) / 1000; \
rTCNTB4 = ((freq / 1000) * rtems_configuration_get_microseconds_per_tick()) / 1000; \
/*unmask TIMER4 irq*/ \
rINTMSK&=~BIT_TIMER4; \
/* start TIMER4 with autoreload */ \