]>
Commit | Line | Data |
---|---|---|
af895e45 HS |
1 | /* |
2 | * (C) Copyright 2007-2010 | |
3 | * Heiko Schocher, DENX Software Engineering, hs@denx.de. | |
4 | * | |
5 | * See file CREDITS for list of people who contributed to this | |
6 | * project. | |
7 | * | |
8 | * This program 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 | |
11 | * the License, or (at your option) any later version. | |
12 | * | |
13 | * This program 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. See the | |
16 | * GNU General Public License for more details. | |
17 | * | |
18 | * You should have received a copy of the GNU General Public License | |
19 | * along with this program; if not, write to the Free Software | |
20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, | |
21 | * MA 02111-1307 USA | |
22 | */ | |
23 | ||
24 | #ifndef __MGCOGE2NE | |
25 | #define __MGCOGE2NE | |
26 | ||
27 | /* | |
28 | * High Level Configuration Options | |
29 | * (easy to change) | |
30 | */ | |
31 | #define CONFIG_MPC8247 | |
32 | #define CONFIG_MGCOGE | |
33 | #define CONFIG_HOSTNAME mgcoge2ne | |
34 | ||
35 | #define CONFIG_SYS_TEXT_BASE 0xFE000000 | |
36 | ||
37 | /* include common defines/options for all Keymile boards */ | |
38 | #include "keymile-common.h" | |
39 | #include "km-powerpc.h" | |
40 | ||
41 | #define CONFIG_SYS_SDRAM_BASE 0x00000000 | |
42 | #define CONFIG_SYS_FLASH_BASE 0xFE000000 | |
43 | #define CONFIG_SYS_FLASH_SIZE 32 | |
44 | #define CONFIG_SYS_FLASH_CFI | |
45 | #define CONFIG_FLASH_CFI_DRIVER | |
46 | #define CONFIG_SYS_MAX_FLASH_BANKS 3 /* max num of flash banks */ | |
47 | #define CONFIG_SYS_MAX_FLASH_SECT 512 /* | |
48 | * max num of sects on one | |
49 | * chip | |
50 | */ | |
51 | ||
52 | #define CONFIG_SYS_FLASH_BASE_1 0x50000000 | |
53 | #define CONFIG_SYS_FLASH_SIZE_1 64 | |
54 | #define CONFIG_SYS_FLASH_SIZE_2 0 | |
55 | ||
56 | #define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE, \ | |
57 | CONFIG_SYS_FLASH_BASE_1 } | |
58 | ||
59 | #define MTDIDS_DEFAULT "nor2=app" | |
60 | ||
61 | /* include further common stuff for all keymile 82xx boards */ | |
62 | #include "km82xx-common.h" | |
63 | ||
64 | #endif /* __MGCOGE2NE */ |