Subversion Repositories freemyipod

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 theseven 1
//
2
//
3
//    Copyright 2010 TheSeven
4
//
5
//
6
//    This file is part of emBIOS.
7
//
8
//    emBIOS is free software: you can redistribute it and/or
9
//    modify it under the terms of the GNU General Public License as
10
//    published by the Free Software Foundation, either version 2 of the
11
//    License, or (at your option) any later version.
12
//
13
//    emBIOS is distributed in the hope that it will be useful,
14
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
15
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
//    See the GNU General Public License for more details.
17
//
18
//    You should have received a copy of the GNU General Public License along
19
//    with emBIOS.  If not, see <http://www.gnu.org/licenses/>.
20
//
21
//
22
 
23
 
24
#ifndef __TARGET_H__
25
#define __TARGET_H__
26
 
27
 
15 theseven 28
#define PLATFORM_ID 0x47324e49
29
 
30
 
2 theseven 31
#define ARM_ARCH 4
58 theseven 32
#define LITTLE_ENDIAN
33
#define CACHEALIGN_BITS 4
54 theseven 34
#define CPU_FREQ 191692800
2 theseven 35
 
36
 
126 theseven 37
#define CONSOLE_BOOT 3
85 theseven 38
 
39
 
40
#define HAVE_USB
15 theseven 41
#define USB_NUM_ENDPOINTS 5
227 theseven 42
#define USB_HAVE_TARGET_SPECIFIC_REQUESTS
15 theseven 43
 
85 theseven 44
#define HAVE_LCD
181 theseven 45
#define HAVE_LCD_SHUTDOWN
116 theseven 46
#define LCD_WIDTH 176
47
#define LCD_HEIGHT 132
48
#define LCD_FORMAT rgb565
49
#define LCD_BYTESPERPIXEL 2
302 theseven 50
#define LCD_BIGENDIAN
257 theseven 51
#define LCDCONSOLE_FGCOLOR 0
52
#define LCDCONSOLE_BGCOLOR -1
15 theseven 53
 
117 theseven 54
#define HAVE_BACKLIGHT
55
 
85 theseven 56
#define HAVE_I2C
57
 
143 theseven 58
#define HAVE_HWKEYAES
59
 
60
#define HAVE_HMACSHA1
61
 
130 theseven 62
#define HAVE_BUTTON
132 theseven 63
#define HAVE_CLICKWHEEL
130 theseven 64
 
95 theseven 65
#define HAVE_BOOTFLASH
66
#define BOOTFLASH_IS_MEMMAPPED
67
 
85 theseven 68
#define HAVE_STORAGE
54 theseven 69
#define HAVE_FLASH_STORAGE
57 theseven 70
#define HAVE_STORAGE_FLUSH
143 theseven 71
#define HAVE_HOTSWAP
54 theseven 72
#define CONFIG_STORAGE STORAGE_NAND
73
#define SECTOR_SIZE 2048
51 theseven 74
 
126 theseven 75
#define HAVE_TARGETINIT_LATE
51 theseven 76
 
126 theseven 77
 
2 theseven 78
#endif