mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
as2525v2-usb: coherence fix
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26970 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b5266ce3e5
commit
f9242c06d0
1 changed files with 2 additions and 2 deletions
|
|
@ -25,11 +25,11 @@
|
||||||
|
|
||||||
#define USB_DEVICE (USB_BASE + 0x0800) /** USB Device base address */
|
#define USB_DEVICE (USB_BASE + 0x0800) /** USB Device base address */
|
||||||
|
|
||||||
#define USB_BASE_REG(offset) (*(volatile unsigned long *)(USB_BASE + offset))
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Core Global Registers
|
* 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_GOTGCTL USB_BASE_REG(0x000) /** OTG Control and Status Register */
|
||||||
#define USB_GOTGINT USB_BASE_REG(0x004) /** OTG Interrupt Register */
|
#define USB_GOTGINT USB_BASE_REG(0x004) /** OTG Interrupt Register */
|
||||||
#define USB_GAHBCFG USB_BASE_REG(0x008) /** Core AHB Configuration Register */
|
#define USB_GAHBCFG USB_BASE_REG(0x008) /** Core AHB Configuration Register */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue