forked from Imagelibrary/rtems
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:
@@ -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:
|
||||
|
||||
@@ -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 */ \
|
||||
|
||||
Reference in New Issue
Block a user