| 710 |
theseven |
1 |
//
|
|
|
2 |
//
|
|
|
3 |
// Copyright 2010 TheSeven
|
|
|
4 |
//
|
|
|
5 |
//
|
|
|
6 |
// This file is part of emCORE.
|
|
|
7 |
//
|
|
|
8 |
// emCORE 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 |
// emCORE 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 emCORE. If not, see <http://www.gnu.org/licenses/>.
|
|
|
20 |
//
|
|
|
21 |
//
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
#ifndef __TARGET_H__
|
|
|
25 |
#define __TARGET_H__
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
#define PLATFORM_ID 0x47325449
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
#define ARM_ARCH 6
|
|
|
32 |
#define LITTLE_ENDIAN
|
|
|
33 |
#define CACHEALIGN_BITS 4
|
|
|
34 |
#define CPU_FREQ 532000000
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
#define CONSOLE_BOOT 3
|
|
|
38 |
#define CONSOLE_PANIC 3
|
|
|
39 |
#define CONSOLE_PANICDUMP 0
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
#define HAVE_USB
|
|
|
43 |
#define USB_NUM_ENDPOINTS 5
|
|
|
44 |
|
|
|
45 |
#define HAVE_LCD
|
|
|
46 |
#define LCD_WIDTH 320
|
|
|
47 |
#define LCD_HEIGHT 480
|
|
|
48 |
#define LCD_FORMAT 0x00721d07 // rgb888
|
|
|
49 |
#define LCD_BYTESPERPIXEL 4
|
|
|
50 |
#define LCDCONSOLE_FGCOLOR 0
|
|
|
51 |
#define LCDCONSOLE_BGCOLOR -1
|
|
|
52 |
|
|
|
53 |
#define HAVE_BACKLIGHT
|
|
|
54 |
|
|
|
55 |
#define HAVE_I2C
|
|
|
56 |
|
|
|
57 |
//#define HAVE_STORAGE
|
|
|
58 |
//#define HAVE_FLASH_STORAGE
|
|
|
59 |
//#define HAVE_STORAGE_FLUSH
|
|
|
60 |
//#define CONFIG_STORAGE STORAGE_NAND
|
|
|
61 |
//#define SECTOR_SIZE 4096
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
#endif
|