]>
Commit | Line | Data |
---|---|---|
6dedf3d4 | 1 | /* |
7f625fc6 | 2 | * (C) Copyright 2003-2009 |
6dedf3d4 HS |
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 | ||
7f625fc6 HS |
32 | #define CONFIG_UC101 1 /* UC101 board */ |
33 | #define CONFIG_HOSTNAME uc101 | |
6dedf3d4 | 34 | |
2ae18241 WD |
35 | #ifndef CONFIG_SYS_TEXT_BASE |
36 | #define CONFIG_SYS_TEXT_BASE 0xFFF00000 | |
37 | #endif | |
2ced53e1 | 38 | #define CONFIG_SYS_LDSCRIPT "arch/powerpc/cpu/mpc5xxx/u-boot-customlayout.lds" |
2ae18241 | 39 | |
7f625fc6 HS |
40 | #include "manroland/common.h" |
41 | #include "manroland/mpc5200-common.h" | |
31d82672 | 42 | |
6dedf3d4 HS |
43 | /* |
44 | * Serial console configuration | |
45 | */ | |
6dedf3d4 | 46 | #define CONFIG_BAUDRATE 115200 /* ... at 115200 bps */ |
6c18eb98 | 47 | |
079a136c JL |
48 | /* |
49 | * BOOTP options | |
50 | */ | |
51 | #define CONFIG_BOOTP_BOOTFILESIZE | |
52 | #define CONFIG_BOOTP_BOOTPATH | |
53 | #define CONFIG_BOOTP_GATEWAY | |
54 | #define CONFIG_BOOTP_HOSTNAME | |
55 | ||
6dedf3d4 HS |
56 | /* |
57 | * Flash configuration | |
58 | */ | |
7f625fc6 | 59 | #define CONFIG_SYS_MAX_FLASH_SECT 140 |
6dedf3d4 HS |
60 | |
61 | /* | |
62 | * Environment settings | |
63 | */ | |
0e8d1586 | 64 | #define CONFIG_ENV_SECT_SIZE 0x10000 |
6dedf3d4 HS |
65 | |
66 | /* | |
67 | * Memory map | |
68 | */ | |
6d0f6bcf JCPV |
69 | #define CONFIG_SYS_IB_MASTER 0xc0510000 /* CS 6 */ |
70 | #define CONFIG_SYS_IB_EPLD 0xc0500000 /* CS 7 */ | |
6dedf3d4 | 71 | |
6dedf3d4 | 72 | /* SRAM */ |
d1831c5e | 73 | #define CONFIG_SYS_SRAM_SIZE 0x200000 |
6dedf3d4 | 74 | |
6dedf3d4 HS |
75 | /* |
76 | * GPIO configuration | |
77 | */ | |
6d0f6bcf | 78 | #define CONFIG_SYS_GPS_PORT_CONFIG 0x4d558044 |
6dedf3d4 | 79 | |
7f625fc6 HS |
80 | #define CONFIG_SYS_MEMTEST_START 0x00300000 |
81 | #define CONFIG_SYS_MEMTEST_END 0x00f00000 | |
6dedf3d4 | 82 | |
7f625fc6 | 83 | #define CONFIG_SYS_LOAD_ADDR 0x300000 |
6dedf3d4 | 84 | |
6d0f6bcf | 85 | #define CONFIG_SYS_BOOTCS_CFG 0x00045D00 |
6dedf3d4 HS |
86 | |
87 | /* 8Mbit SRAM @0x80100000 */ | |
6d0f6bcf JCPV |
88 | #define CONFIG_SYS_CS1_SIZE 0x00200000 |
89 | #define CONFIG_SYS_CS1_CFG 0x21D00 | |
6dedf3d4 HS |
90 | |
91 | /* Display H1, Status Inputs, EPLD @0x80600000 8 Bit */ | |
6d0f6bcf JCPV |
92 | #define CONFIG_SYS_CS3_START CONFIG_SYS_DISPLAY_BASE |
93 | #define CONFIG_SYS_CS3_SIZE 0x00000100 | |
94 | #define CONFIG_SYS_CS3_CFG 0x00081802 | |
6dedf3d4 HS |
95 | |
96 | /* Interbus Master 16 Bit */ | |
6d0f6bcf JCPV |
97 | #define CONFIG_SYS_CS6_START CONFIG_SYS_IB_MASTER |
98 | #define CONFIG_SYS_CS6_SIZE 0x00010000 | |
99 | #define CONFIG_SYS_CS6_CFG 0x00FF3500 | |
6dedf3d4 HS |
100 | |
101 | /* Interbus EPLD 8 Bit */ | |
6d0f6bcf JCPV |
102 | #define CONFIG_SYS_CS7_START CONFIG_SYS_IB_EPLD |
103 | #define CONFIG_SYS_CS7_SIZE 0x00010000 | |
104 | #define CONFIG_SYS_CS7_CFG 0x00081800 | |
6dedf3d4 | 105 | |
6dedf3d4 HS |
106 | /*----------------------------------------------------------------------- |
107 | * IDE/ATA stuff Supports IDE harddisk | |
108 | *----------------------------------------------------------------------- | |
109 | */ | |
110 | ||
7f625fc6 | 111 | #define CONFIG_SYS_IDE_MAXDEVICE 1 /* max. 2 drives per IDE bus*/ |
6dedf3d4 HS |
112 | |
113 | /*---------------------------------------------------------------------*/ | |
114 | /* Display addresses */ | |
115 | /*---------------------------------------------------------------------*/ | |
6d0f6bcf JCPV |
116 | #define CONFIG_SYS_DISP_CHR_RAM (CONFIG_SYS_DISPLAY_BASE + 0x38) |
117 | #define CONFIG_SYS_DISP_CWORD (CONFIG_SYS_DISPLAY_BASE + 0x30) | |
6dedf3d4 HS |
118 | |
119 | #endif /* __CONFIG_H */ |