]> git.ipfire.org Git - people/ms/u-boot.git/blob - include/configs/devkit3250.h
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
[people/ms/u-boot.git] / include / configs / devkit3250.h
1 /*
2 * Embest/Timll DevKit3250 board configuration file
3 *
4 * Copyright (C) 2011 Vladimir Zapolskiy <vz@mleia.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 */
21
22 #ifndef __CONFIG_DEVKIT3250_H__
23 #define __CONFIG_DEVKIT3250_H__
24
25 /* SoC and board defines */
26 #include <asm/sizes.h>
27 #include <asm/arch/cpu.h>
28
29 /*
30 * Define DevKit3250 machine type by hand until it lands in mach-types
31 */
32 #define MACH_TYPE_DEVKIT3250 3697
33 #define CONFIG_MACH_TYPE MACH_TYPE_DEVKIT3250
34
35 #define CONFIG_SYS_ICACHE_OFF
36 #define CONFIG_SYS_DCACHE_OFF
37 #define CONFIG_SKIP_LOWLEVEL_INIT
38 #define CONFIG_BOARD_EARLY_INIT_F
39
40 /*
41 * Memory configurations
42 */
43 #define CONFIG_NR_DRAM_BANKS 1
44 #define CONFIG_SYS_MALLOC_LEN SZ_1M
45 #define CONFIG_SYS_GBL_DATA_SIZE 128
46 #define CONFIG_SYS_SDRAM_BASE EMC_DYCS0_BASE
47 #define CONFIG_SYS_SDRAM_SIZE SZ_64M
48 #define CONFIG_SYS_TEXT_BASE 0x83FA0000
49 #define CONFIG_SYS_MEMTEST_START (CONFIG_SYS_SDRAM_BASE + SZ_32K)
50 #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_TEXT_BASE - SZ_1M)
51
52 #define CONFIG_SYS_LOAD_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_32K)
53
54 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + SZ_4K \
55 - GENERATED_GBL_DATA_SIZE)
56
57 /*
58 * Serial Driver
59 */
60 #define CONFIG_SYS_LPC32XX_UART 2 /* UART2 */
61 #define CONFIG_BAUDRATE 115200
62
63 /*
64 * NOR Flash
65 */
66 #define CONFIG_CMD_FLASH
67 #define CONFIG_SYS_MAX_FLASH_BANKS 1
68 #define CONFIG_SYS_MAX_FLASH_SECT 71
69 #define CONFIG_SYS_FLASH_BASE EMC_CS0_BASE
70 #define CONFIG_SYS_FLASH_SIZE SZ_4M
71 #define CONFIG_SYS_FLASH_CFI
72
73 /*
74 * U-Boot General Configurations
75 */
76 #define CONFIG_SYS_LONGHELP
77 #define CONFIG_SYS_PROMPT "=> "
78 #define CONFIG_SYS_CBSIZE 1024
79 #define CONFIG_SYS_PBSIZE \
80 (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
81 #define CONFIG_SYS_MAXARGS 16
82 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
83
84 #define CONFIG_AUTO_COMPLETE
85 #define CONFIG_CMDLINE_EDITING
86 #define CONFIG_VERSION_VARIABLE
87 #define CONFIG_DISPLAY_CPUINFO
88 #define CONFIG_DOS_PARTITION
89
90 #define CONFIG_ENV_IS_NOWHERE
91 #define CONFIG_ENV_SIZE SZ_128K
92
93 /*
94 * U-Boot Commands
95 */
96 #include <config_cmd_default.h>
97 #define CONFIG_CMD_CACHE
98
99 /*
100 * Boot Linux
101 */
102 #define CONFIG_CMDLINE_TAG
103 #define CONFIG_SETUP_MEMORY_TAGS
104 #define CONFIG_ZERO_BOOTDELAY_CHECK
105 #define CONFIG_BOOTDELAY 3
106
107 #define CONFIG_BOOTFILE "uImage"
108 #define CONFIG_BOOTARGS "console=ttyS2,115200n8"
109 #define CONFIG_LOADADDR 0x80008000
110
111 /*
112 * Include SoC specific configuration
113 */
114 #include <asm/arch/config.h>
115
116 #endif /* __CONFIG_DEVKIT3250_H__*/