path: root/firmware/export/s3c2440.h
diff options
authorFrank Gevaerts <>2009-07-12 15:01:10 +0000
committerFrank Gevaerts <>2009-07-12 15:01:10 +0000
commit7528674626fb0956111d27f77bbb3a97628c3a40 (patch)
tree8a2a11a8719e484dd02adc6b6a4e8c4301286c98 /firmware/export/s3c2440.h
parent6258e24e0e48f9325a642673077b7d93c805e405 (diff)
Remove OHCI registers from s3c2440.h and move them to their own header. Since s3c2440 seems to be very close to the OHCI spec, there's no reason not to use a generic driver
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/s3c2440.h')
1 files changed, 1 insertions, 27 deletions
diff --git a/firmware/export/s3c2440.h b/firmware/export/s3c2440.h
index 2682660b45..0589f3b6b0 100644
--- a/firmware/export/s3c2440.h
+++ b/firmware/export/s3c2440.h
@@ -46,33 +46,7 @@
/* USB Host Controller */
-/* Control and status group */
-#define HcRevision (*(volatile unsigned long *)0x49000000)
-#define HcControl (*(volatile unsigned long *)0x49000004)
-#define HcCommonStatus (*(volatile unsigned long *)0x49000008)
-#define HcInterruptStatus (*(volatile unsigned long *)0x4900000C)
-#define HcInterruptEnable (*(volatile unsigned long *)0x49000010)
-#define HcInterruptDisable (*(volatile unsigned long *)0x49000014)
-/* Memory pointer group */
-#define HcHCCA (*(volatile unsigned long *)0x49000018)
-#define HcPeriodCuttentED (*(volatile unsigned long *)0x4900001C)
-#define HcControlHeadED (*(volatile unsigned long *)0x49000020)
-#define HcControlCurrentED (*(volatile unsigned long *)0x49000024)
-#define HcBulkHeadED (*(volatile unsigned long *)0x49000028)
-#define HcBulkCurrentED (*(volatile unsigned long *)0x4900002C)
-/* Frame counter group */
-#define HcDoneHead (*(volatile unsigned long *)0x49000030)
-#define HcRmInterval (*(volatile unsigned long *)0x49000034)
-#define HcFmRemaining (*(volatile unsigned long *)0x49000038)
-#define HcFmNumber (*(volatile unsigned long *)0x4900003C)
-#define HcPeriodicStart (*(volatile unsigned long *)0x49000040)
-#define HcLSThreshold (*(volatile unsigned long *)0x49000044)
-/* Root hub group */
-#define HcRhDescriptorA (*(volatile unsigned long *)0x49000048)
-#define HcRhDescriptorB (*(volatile unsigned long *)0x4900004C)
-#define HcRhStatus (*(volatile unsigned long *)0x49000050)
-#define HcRhPortStatus1 (*(volatile unsigned long *)0x49000054)
-#define HcRhPortStatus2 (*(volatile unsigned long *)0x49000058)
+#define OHCI_BASE 0x49000000
/* Interrupt Controller */