Subversion Repositories freemyipod

Rev

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

Rev 763 Rev 892
Line 37... Line 37...
37
#define CONSOLE_BOOT 3
37
#define CONSOLE_BOOT 3
38
#define CONSOLE_PANIC 3
38
#define CONSOLE_PANIC 3
39
#define CONSOLE_PANICDUMP 0
39
#define CONSOLE_PANICDUMP 0
40
 
40
 
41
 
41
 
-
 
42
#include "../ipodnano4g/s5l8720.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 0b0000000000010110000000000010101
-
 
64
#define USB_MAXCURRENT 500
-
 
65
#define USB_HAVE_TARGET_SPECIFIC_REQUESTS
-
 
66
 
44
 
67
 
45
#define HAVE_LCD
68
#define HAVE_LCD
46
#define LCD_WIDTH 320
69
#define LCD_WIDTH 320
47
#define LCD_HEIGHT 480
70
#define LCD_HEIGHT 480
48
#define LCD_FORMAT 0x00721d07  // rgb888
71
#define LCD_FORMAT 0x00721d07  // rgb888