This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
TS1000 - Fix clock rate calculation
- From: Gary Thomas <gthomas at ecoscentric dot com>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 18 Oct 2002 15:40:21 -0600
- Subject: TS1000 - Fix clock rate calculation
Index: hal/powerpc/ts1000/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/powerpc/ts1000/current/ChangeLog,v
retrieving revision 1.3
diff -u -5 -p -r1.3 ChangeLog
--- hal/powerpc/ts1000/current/ChangeLog 18 Oct 2002 16:56:56 -0000 1.3
+++ hal/powerpc/ts1000/current/ChangeLog 18 Oct 2002 21:39:21 -0000
@@ -1,7 +1,9 @@
2002-10-18 Gary Thomas <gthomas@ecoscentric.com>
+ * cdl/hal_powerpc_ts1000.cdl: Fix clock rate calculation.
+
* misc/redboot_ROMRAM.ecm:
* misc/redboot_ROM.ecm:
* misc/redboot_RAM.ecm: FLASH package name change.
* include/plf_cache.h: No need for "old" FLASH cache support.
Index: hal/powerpc/ts1000/current/cdl/hal_powerpc_ts1000.cdl
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/powerpc/ts1000/current/cdl/hal_powerpc_ts1000.cdl,v
retrieving revision 1.1
diff -u -5 -p -r1.1 hal_powerpc_ts1000.cdl
--- hal/powerpc/ts1000/current/cdl/hal_powerpc_ts1000.cdl 11 Oct 2002 20:09:26 -0000 1.1
+++ hal/powerpc/ts1000/current/cdl/hal_powerpc_ts1000.cdl 18 Oct 2002 21:38:52 -0000
@@ -164,11 +164,11 @@ cdl_package CYGPKG_HAL_POWERPC_TS1000 {
calculated 100
}
cdl_option CYGNUM_HAL_RTC_PERIOD {
display "Real-time clock period"
flavor data
- calculated { ((((CYGHWR_HAL_POWERPC_BOARD_SPEED*1000000)/4)/16)/100) }
+ calculated { (((CYGHWR_HAL_POWERPC_BOARD_SPEED*1000000)/16)/100) }
}
}
cdl_component CYGBLD_GLOBAL_OPTIONS {
display "Global build options"
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------