This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

SH3 divider config fix


Index: ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/sh/sh3/current/ChangeLog,v
retrieving revision 1.20
diff -u -5 -p -r1.20 ChangeLog
--- ChangeLog	19 Jan 2003 12:19:00 -0000	1.20
+++ ChangeLog	27 Apr 2003 22:17:12 -0000
@@ -1,5 +1,10 @@
+2003-04-27  Rod Campbell  <rodc at sigmaelectronics dot com>
+
+	* include/mod_regs_cpg.h (CYGARC_REG_FRQCR_INIT_DIVIDER2): Fix
+	FRQCR_INIT_DIVIDER2 value when CYGHWR_HAL_SH_OOC_DIVIDER_2 set at 6.
+
 2003-01-18  Bart Veer  <bartv at ecoscentric dot com>
 
 	* src/variant.S, include/variant.inc:
 	Cope with binutils 2.13.1, gas is morefinicky about immediate
 	constants.
Index: include/mod_regs_cpg.h
===================================================================
RCS file: /cvs/ecos/ecos/packages/hal/sh/sh3/current/include/mod_regs_cpg.h,v
retrieving revision 1.3
diff -u -5 -p -r1.3 mod_regs_cpg.h
--- include/mod_regs_cpg.h	23 May 2002 23:05:00 -0000	1.3
+++ include/mod_regs_cpg.h	27 Apr 2003 22:17:12 -0000
@@ -198,11 +198,11 @@
 #elif (CYGHWR_HAL_SH_OOC_DIVIDER_2 == 3)
 # define CYGARC_REG_FRQCR_INIT_DIVIDER2 0x2000
 #elif (CYGHWR_HAL_SH_OOC_DIVIDER_2 == 4)
 # define CYGARC_REG_FRQCR_INIT_DIVIDER2 0x0002
 #elif (CYGHWR_HAL_SH_OOC_DIVIDER_2 == 6)
-# define CYGARC_REG_FRQCR_INIT_DIVIDER2 0x2002
+# define CYGARC_REG_FRQCR_INIT_DIVIDER2 0x2001
 #else
 # error "Unsupported Divider2 setting"
 #endif
 
 // CKOEN - set in modes 0-2


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]