summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2010-06-19 20:39:51 +0000
committerAmaury Pouly <pamaury@rockbox.org>2010-06-19 20:39:51 +0000
commitf9242c06d01b6fe4532cb5511b1470046df5650b (patch)
tree78cc486d25671c8d1132922b114097a0129cc262 /firmware
parentb5266ce3e566052204c27500a0ca1e2c94253ee3 (diff)
as2525v2-usb: coherence fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26970 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/usb-drv-as3525v2.h4
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 @@
#define USB_DEVICE (USB_BASE + 0x0800) /** USB Device base address */
-#define USB_BASE_REG(offset) (*(volatile unsigned long *)(USB_BASE + offset))
-
/**
* Core Global Registers
*/
+#define USB_BASE_REG(offset) (*(volatile unsigned long *)(USB_BASE + offset))
+
#define USB_GOTGCTL USB_BASE_REG(0x000) /** OTG Control and Status Register */
#define USB_GOTGINT USB_BASE_REG(0x004) /** OTG Interrupt Register */
#define USB_GAHBCFG USB_BASE_REG(0x008) /** Core AHB Configuration Register */