freemyipod r290 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r289‎ | r290 | r291 >
Date:22:24, 27 November 2010
Author:theseven
Status:new
Tags:
Comment:
UMSboot: Move SynopsysOTG config to target SoC header
Modified paths:
  • /umsboot/target/ipodnano2g/s5l8701.h (modified) (history)
  • /umsboot/usb/synopsysotg.h (modified) (history)

Diff [purge]

Index: umsboot/target/ipodnano2g/s5l8701.h
@@ -275,6 +275,8 @@
276276 /////USB/////
277277 #define OTGBASE 0x38800000
278278 #define PHYBASE 0x3C400000
 279+#define SYNOPSYSOTG_CLOCK 0
 280+#define SYNOPSYSOTG_AHBCFG 0x27
279281
280282
281283 /////I2C/////
Index: umsboot/usb/synopsysotg.h
@@ -30,13 +30,9 @@
3131
3232 #ifdef TARGET_ipodnano2g
3333 #include "target/ipodnano2g/s5l8701.h"
34 -#define SYNOPSYSOTG_CLOCK 0
35 -#define SYNOPSYSOTG_AHBCFG 0x27
3634 #endif
3735 #ifdef TARGET_ipodnano4g
3836 #include "target/ipodnano4g/s5l8720.h"
39 -#define SYNOPSYSOTG_CLOCK 0x11
40 -#define SYNOPSYSOTG_AHBCFG 0x2B
4137 #endif
4238
4339