Subversion Repositories freemyipod

Rev

Rev 763 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 763 Rev 891
Line 37... Line 37...
37
#define CONSOLE_BOOT 3
37
#define CONSOLE_BOOT 3
38
#define CONSOLE_PANIC 7
38
#define CONSOLE_PANIC 7
39
#define CONSOLE_PANICDUMP 4
39
#define CONSOLE_PANICDUMP 4
40
 
40
 
41
 
41
 
-
 
42
#include "../ipodnano3g/s5l8702.h"
42
#define HAVE_USB
43
#define HAVE_USB
-
 
44
#define USB_DRIVER_HEADER "usb/synopsysotg.h"
-
 
45
#define USB_DRIVER synopsysotg_driver
-
 
46
#define USB_DRIVER_CONFIG_TYPE const struct synopsysotg_config
43
#define USB_NUM_ENDPOINTS 5
47
#define USB_DRIVER_CONFIG \
-
 
48
{ \
-
 
49
    .core = (struct synopsysotg_core_regs*)OTGBASE, \
-
 
50
    .phy_16bit = true, \
-
 
51
    .phy_ulpi = false, \
-
 
52
    .use_dma = true, \
-
 
53
    .shared_txfifo = true, \
-
 
54
    .disable_double_buffering = false, \
-
 
55
    .fifosize = 1024, \
-
 
56
    .txfifosize = { 0x200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, \
-
 
57
}
-
 
58
#define USB_DRIVER_STATE_TYPE struct synopsysotg_state
-
 
59
#define USB_DRIVER_STATE \
-
 
60
{ \
-
 
61
    .endpoints = { {}, {}, {}, {}, {} }, \
-
 
62
}
-
 
63
#define USB_ENDPOINTS { 0x80, 0x01, 0x82, 0x03 }
-
 
64
#define USB_MAXCURRENT 500
44
#define USB_HAVE_TARGET_SPECIFIC_REQUESTS
65
#define USB_HAVE_TARGET_SPECIFIC_REQUESTS
45
 
66
 
-
 
67
 
46
#define HAVE_LCD
68
#define HAVE_LCD
47
#define HAVE_LCD_SHUTDOWN
69
#define HAVE_LCD_SHUTDOWN
48
#define LCD_WIDTH 320
70
#define LCD_WIDTH 320
49
#define LCD_HEIGHT 240
71
#define LCD_HEIGHT 240
50
#define LCD_FORMAT 0x004154b4  // rgb565
72
#define LCD_FORMAT 0x004154b4  // rgb565