summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/arm
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-05 12:56:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-06-05 12:56:55 +0000
commit7a5c013c1e3fad5e90a55572a2c579332bf0ac56 (patch)
tree8bfdb2645c3d50a11ee9f4ceddf901f6f1070549 /c/src/lib/libcpu/arm
parent2009-06-05 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-7a5c013c1e3fad5e90a55572a2c579332bf0ac56.tar.bz2
2009-06-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* pxa255/clock/clock.c: Add ON_SKYEYE option to enable fast idle mode.
Diffstat (limited to 'c/src/lib/libcpu/arm')
-rw-r--r--c/src/lib/libcpu/arm/ChangeLog4
-rwxr-xr-xc/src/lib/libcpu/arm/pxa255/clock/clock.c11
2 files changed, 9 insertions, 6 deletions
diff --git a/c/src/lib/libcpu/arm/ChangeLog b/c/src/lib/libcpu/arm/ChangeLog
index 23bbf963b9..e07b386f2a 100644
--- a/c/src/lib/libcpu/arm/ChangeLog
+++ b/c/src/lib/libcpu/arm/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-05 Joel Sherrill <joel.sherrill@oarcorp.com>
+
+ * pxa255/clock/clock.c: Add ON_SKYEYE option to enable fast idle mode.
+
2009-06-04 Xi Yang <hiyangxi@gmail.com>
* Makefile.am, configure.ac, preinstall.am: New Gumstix BSP and PXA255
diff --git a/c/src/lib/libcpu/arm/pxa255/clock/clock.c b/c/src/lib/libcpu/arm/pxa255/clock/clock.c
index e4f6fc9cdf..d0fe9ecab4 100755
--- a/c/src/lib/libcpu/arm/pxa255/clock/clock.c
+++ b/c/src/lib/libcpu/arm/pxa255/clock/clock.c
@@ -8,26 +8,25 @@
* found in the file LICENSE in this distribution or at
* http://www.rtems.com/license/LICENSE.
*
- *
* $Id$
*/
+
#include <rtems.h>
#include <rtems/clockdrv.h>
#include <rtems/libio.h>
#include <stdlib.h>
#include <bsp.h>
+#include <bspopts.h>
#include <irq.h>
#include <pxa255.h>
-
+#if ON_SKYEYE==1
+ #define CLOCK_DRIVER_USE_FAST_IDLE
+#endif
static unsigned long period_num;
-
-
-
-
/**
* Enables clock interrupt.
*