]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/mgcoge.h
ppc: add support for ppc based board mgcoge2ne
[karo-tx-uboot.git] / include / configs / mgcoge.h
1 /*
2  * (C) Copyright 2007-2011
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 __CONFIG_H
25 #define __CONFIG_H
26
27 /*
28  * High Level Configuration Options
29  * (easy to change)
30  */
31
32 #define CONFIG_MPC8247
33 #define CONFIG_MGCOGE
34 #define CONFIG_HOSTNAME         mgcoge
35
36 #define CONFIG_SYS_TEXT_BASE    0xFE000000
37
38 /* include common defines/options for all Keymile boards */
39 #include "keymile-common.h"
40 #include "km-powerpc.h"
41
42 #define CONFIG_SYS_SDRAM_BASE           0x00000000
43 #define CONFIG_SYS_FLASH_BASE           0xFE000000
44 #define CONFIG_SYS_FLASH_SIZE           32
45 #define CONFIG_SYS_FLASH_CFI
46 #define CONFIG_FLASH_CFI_DRIVER
47 #define CONFIG_SYS_MAX_FLASH_BANKS      3
48 /* max num of sects on one chip */
49 #define CONFIG_SYS_MAX_FLASH_SECT       512
50
51 #define CONFIG_SYS_FLASH_BASE_1 0x50000000
52 #define CONFIG_SYS_FLASH_SIZE_1 32
53 #define CONFIG_SYS_FLASH_BASE_2 0x52000000
54 #define CONFIG_SYS_FLASH_SIZE_2 32
55
56 #define CONFIG_SYS_FLASH_BANKS_LIST { CONFIG_SYS_FLASH_BASE, \
57                                         CONFIG_SYS_FLASH_BASE_1, \
58                                         CONFIG_SYS_FLASH_BASE_2 }
59 #define MTDIDS_DEFAULT          "nor3=app"
60
61 /* include further common stuff for all keymile 82xx boards */
62 #include "km82xx-common.h"
63
64 /* enable last_stage_init */
65 #define CONFIG_LAST_STAGE_INIT          1
66 /* bfticu address */
67 #define CONFIG_SYS_BFTICU_BASE          0x40000000
68
69 #endif /* __CONFIG_H */