This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Same for SNDS hal defines
- From: Roland Caßebohm <roland dot cassebohm at visionsystems dot de>
- To: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>, "eCos-Patches" <ecos-patches at sources dot redhat dot com>
- Date: Wed, 8 Oct 2003 15:49:43 +0200
- Subject: Same for SNDS hal defines
- References: <011b01c38bfe$df709fc0$500ba8c0@jasper>
On Montag, 6. Oktober 2003 13:42, Chris Garry wrote:
> There are a couple of register mask defines in the E7T hal that are
> incorrect. These defines are not actually used anywhere at present. Fix
> attached.
>
> Chris
The same fixes are made in the attached patch for the SNDS hal.
Roland
--
___________________________________________________
VS Vision Systems GmbH, Industrial Image Processing
Dipl.-Ing. Roland Caßebohm
Aspelohe 27A, D-22848 Norderstedt, Germany
http://www.visionsystems.de
___________________________________________________
Index: packages/hal/arm/snds//current/ChangeLog
===================================================================
RCS file: /home/cassebohm/net/USERS/CVSROOT/VSprojects/ecos/packages/hal/arm/snds/current/ChangeLog,v
retrieving revision 1.1.1.1
diff -u -5 -p -r1.1.1.1 ChangeLog
--- packages/hal/arm/snds//current/ChangeLog 29 Sep 2003 15:16:19 -0000 1.1.1.1
+++ packages/hal/arm/snds//current/ChangeLog 8 Oct 2003 12:54:08 -0000
@@ -1,5 +1,11 @@
+2003-10-08 Roland Caßebohm <roland.cassebohm@visionsystems.de>
+
+ * include/plf_io.h: Correct (unused) defines for
+ KS32C_ROMCON_BASE_MASK, KS32C_ROMCON_NEXT_MASK,
+ KS32C_DRAMCON_BASE_MASK and KS32C_DRAMCON_NEXT_MASK.
+
2003-09-21 Gary Thomas <gary@mlbassoc.com>
* misc/redboot_RAM.ecm:
* misc/redboot_ROM.ecm: Adjust for changes in RedBoot
template - DNS now must be enabled manually.
Index: packages/hal/arm/snds//current/include/plf_io.h
===================================================================
RCS file: /home/cassebohm/net/USERS/CVSROOT/VSprojects/ecos/packages/hal/arm/snds/current/include/plf_io.h,v
retrieving revision 1.1.1.1
diff -u -5 -p -r1.1.1.1 plf_io.h
--- packages/hal/arm/snds//current/include/plf_io.h 29 Sep 2003 15:16:19 -0000 1.1.1.1
+++ packages/hal/arm/snds//current/include/plf_io.h 8 Oct 2003 12:46:08 -0000
@@ -130,14 +130,14 @@
#define KS32C_ROMCON_TACC_4C 0x00000030
#define KS32C_ROMCON_TACC_5C 0x00000040
#define KS32C_ROMCON_TACC_6C 0x00000050
#define KS32C_ROMCON_TACC_7C 0x00000060
-#define KS32C_ROMCON_BASE_MASK 0x000ff700
+#define KS32C_ROMCON_BASE_MASK 0x000ffc00
#define KS32C_ROMCON_BASE_shift 10
-#define KS32C_ROMCON_NEXT_MASK 0x7ff00000
+#define KS32C_ROMCON_NEXT_MASK 0x3ff00000
#define KS32C_ROMCON_NEXT_shift 20
#define KS32C_DRAMCON0 (KS32C_REG_BASE + 0x302c)
@@ -162,14 +162,14 @@
#define KS32C_DRAMCON_TCS_2C 0x00000002
#define KS32C_DRAMCON_TCS_3C 0x00000004
#define KS32C_DRAMCON_TCS_4C 0x00000006
#define KS32C_DRAMCON_EDO 0x00000001
-#define KS32C_DRAMCON_BASE_MASK 0x000ff700
+#define KS32C_DRAMCON_BASE_MASK 0x000ffc00
#define KS32C_DRAMCON_BASE_shift 10
-#define KS32C_DRAMCON_NEXT_MASK 0x7ff00000
+#define KS32C_DRAMCON_NEXT_MASK 0x3ff00000
#define KS32C_DRAMCON_NEXT_shift 20
#define KS32C_REFEXTCON (KS32C_REG_BASE + 0x303c)