From 7d9cc0e2ce94cc0b0d42371cca1abbee552ad629 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Thu, 22 Jul 2010 13:07:56 +0000 Subject: CCU_BASE+0x20 is specific to AMSv2 -> move to as3525v2.h Rename to simply 'CCU_USB' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27518 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/as3525.h | 1 - firmware/export/as3525v2.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/export') diff --git a/firmware/export/as3525.h b/firmware/export/as3525.h index 52f10efb3e..e44b4ed693 100644 --- a/firmware/export/as3525.h +++ b/firmware/export/as3525.h @@ -109,7 +109,6 @@ #define CCU_VERS (*(volatile unsigned long *)(CCU_BASE + 0x14)) #define CCU_SPARE1 (*(volatile unsigned long *)(CCU_BASE + 0x18)) #define CCU_SPARE2 (*(volatile unsigned long *)(CCU_BASE + 0x1C)) -#define CCU_USB_THINGY (*(volatile unsigned long *)(CCU_BASE + 0x20)) /* DBOP */ #define DBOP_TIMPOL_01 (*(volatile unsigned long *)(DBOP_BASE + 0x00)) diff --git a/firmware/export/as3525v2.h b/firmware/export/as3525v2.h index 4b719a905a..caae57e061 100644 --- a/firmware/export/as3525v2.h +++ b/firmware/export/as3525v2.h @@ -40,4 +40,6 @@ #define USB_NUM_ENDPOINTS 6 +#define CCU_USB (*(volatile unsigned long *)(CCU_BASE + 0x20)) + #endif /* __AS3525V2_H__ */ -- cgit v1.2.3