diff options
author | Amaury Pouly <pamaury@rockbox.org> | 2010-06-19 20:39:51 +0000 |
---|---|---|
committer | Amaury Pouly <pamaury@rockbox.org> | 2010-06-19 20:39:51 +0000 |
commit | f9242c06d01b6fe4532cb5511b1470046df5650b (patch) | |
tree | 78cc486d25671c8d1132922b114097a0129cc262 /firmware/target/arm/as3525 | |
parent | b5266ce3e566052204c27500a0ca1e2c94253ee3 (diff) | |
download | rockbox-f9242c06d01b6fe4532cb5511b1470046df5650b.tar.gz rockbox-f9242c06d01b6fe4532cb5511b1470046df5650b.zip |
as2525v2-usb: coherence fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26970 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r-- | firmware/target/arm/as3525/usb-drv-as3525v2.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.h b/firmware/target/arm/as3525/usb-drv-as3525v2.h index 4e88530373..23be1c5b49 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525v2.h +++ b/firmware/target/arm/as3525/usb-drv-as3525v2.h | |||
@@ -25,11 +25,11 @@ | |||
25 | 25 | ||
26 | #define USB_DEVICE (USB_BASE + 0x0800) /** USB Device base address */ | 26 | #define USB_DEVICE (USB_BASE + 0x0800) /** USB Device base address */ |
27 | 27 | ||
28 | #define USB_BASE_REG(offset) (*(volatile unsigned long *)(USB_BASE + offset)) | ||
29 | |||
30 | /** | 28 | /** |
31 | * Core Global Registers | 29 | * Core Global Registers |
32 | */ | 30 | */ |
31 | #define USB_BASE_REG(offset) (*(volatile unsigned long *)(USB_BASE + offset)) | ||
32 | |||
33 | #define USB_GOTGCTL USB_BASE_REG(0x000) /** OTG Control and Status Register */ | 33 | #define USB_GOTGCTL USB_BASE_REG(0x000) /** OTG Control and Status Register */ |
34 | #define USB_GOTGINT USB_BASE_REG(0x004) /** OTG Interrupt Register */ | 34 | #define USB_GOTGINT USB_BASE_REG(0x004) /** OTG Interrupt Register */ |
35 | #define USB_GAHBCFG USB_BASE_REG(0x008) /** Core AHB Configuration Register */ | 35 | #define USB_GAHBCFG USB_BASE_REG(0x008) /** Core AHB Configuration Register */ |