PERFORCE change 154079 for review
Sam Leffler
sam at FreeBSD.org
Thu Dec 4 14:45:31 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=154079
Change 154079 by sam at sam_ebb on 2008/12/04 22:44:49
don't calculate register offsets relative to each other;
just use the absolute addresses in the manual
Affected files ...
.. //depot/projects/vap/sys/arm/xscale/ixp425/ixp425reg.h#6 edit
Differences ...
==== //depot/projects/vap/sys/arm/xscale/ixp425/ixp425reg.h#6 (text+ko) ====
@@ -662,23 +662,16 @@
/*
* IXP435/Gateworks Cambria
- *
- * Octal status LED latch is in upper 256K of CS3
- * Optional RS485 Serial port is next lower 256K
- * Optional GPS Serial port is next lower 256K
- * next lower 768K is reserved
- * Compact flash socket 1 is next lower 256K
- * Compact flash socket 0 is next lower 256K
*/
-#define CAMBRIA_OCTAL_LED_HWBASE (IXP425_EXP_BUS_CS4_HWBASE - 0x40000)
-#define CAMBRIA_OCTAL_LED_SIZE 0x40000
-#define CAMBRIA_RS485_HWBASE (CAMBRIA_OCTAL_LED_HWBASE - 0x40000)
+#define CAMBRIA_GPS_HWBASE 0x53FC0000UL /* optional GPS Serial Port */
+#define CAMBRIA_GPS_SIZE 0x40000
+#define CAMBRIA_RS485_HWBASE 0x53F80000UL /* optional RS485 Serial Port */
#define CAMBRIA_RS485_SIZE 0x40000
-#define CAMBRIA_GPS_HWBASE (CAMBRIA_RS485_HWBASE - 0x40000)
-#define CAMBRIA_GPS_SIZE 0x40000
-#define CAMBRIA_CFSEL1_HWBASE (CAMBRIA_GPS_HWBASE - 4*0x40000)
+#define CAMBRIA_OCTAL_LED_HWBASE 0x53F40000UL /* Octal Status LED Latch */
+#define CAMBRIA_OCTAL_LED_SIZE 0x1000
+#define CAMBRIA_CFSEL1_HWBASE 0x53E40000UL /* Compact Flash Socket Sel 0 */
#define CAMBRIA_CFSEL1_SIZE 0x40000
-#define CAMBRIA_CFSEL0_HWBASE (CAMBRIA_CFSEL1_HWBASE - 0x40000)
+#define CAMBRIA_CFSEL0_HWBASE 0x53E00000UL /* Compact Flash Socket Sel 1 */
#define CAMBRIA_CFSEL0_SIZE 0x40000
#define IXP435_USB1_HWBASE 0xcd000000UL /* USB host controller 1 */
More information about the p4-projects
mailing list