3 * Heiko Schocher, DENX Software Engineering, hs@denx.de.
5 * See file CREDITS for list of people who contributed to this
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.
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.
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,
24 #ifndef __CONFIG_KEYMILE_H
25 #define __CONFIG_KEYMILE_H
27 /* Do boardspecific init for all boards */
28 #define CONFIG_BOARD_EARLY_INIT_R 1
30 #if defined(CONFIG_MGCOGE) || defined(CONFIG_MGSUVD)
31 #define CONFIG_BOOTCOUNT_LIMIT
35 * Command line configuration.
37 #include <config_cmd_default.h>
39 #define CONFIG_CMD_ASKENV
40 #define CONFIG_CMD_DHCP
41 #define CONFIG_CMD_ECHO
42 #define CONFIG_CMD_IMMAP
43 #define CONFIG_CMD_MII
44 #define CONFIG_CMD_PING
46 /* should go away, if kmeter I2C support is enabled */
47 #if defined(CONFIG_MGCOGE) || defined(CONFIG_MGSUVD)
48 #define CONFIG_CMD_DTT
49 #define CONFIG_CMD_EEPROM
50 #define CONFIG_CMD_I2C
53 #undef CONFIG_WATCHDOG /* disable platform specific watchdog */
55 #define CONFIG_BOOTCOMMAND "run net_nfs"
56 #define CONFIG_BOOTDELAY 5 /* autoboot after 5 seconds */
57 #undef CONFIG_BOOTARGS /* the boot command will set bootargs */
60 * Miscellaneous configurable options
62 #define CONFIG_SYS_HUSH_PARSER
63 #define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
64 #define CONFIG_SYS_LONGHELP /* undef to save memory */
65 #define CONFIG_SYS_PROMPT "=> " /* Monitor Command Prompt */
66 #if defined(CONFIG_CMD_KGDB)
67 #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */
69 #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */
71 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16) /* Print Buffer Size */
72 #define CONFIG_SYS_MAXARGS 16 /* max number of command args */
73 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */
74 #define CONFIG_CMDLINE_EDITING 1 /* add command line history */
76 /* should go away, if kmeter I2C support is enabled */
77 #if defined(CONFIG_MGCOGE) || defined(CONFIG_MGSUVD)
78 #define CONFIG_HUSH_INIT_VAR 1
81 #define CONFIG_SYS_ALT_MEMTEST /* memory test, takes time */
82 #define CONFIG_SYS_MEMTEST_START 0x00100000 /* memtest works on */
83 #define CONFIG_SYS_MEMTEST_END 0x00f00000 /* 1 ... 15 MB in DRAM */
85 #define CONFIG_SYS_LOAD_ADDR 0x100000 /* default load address */
87 #define CONFIG_SYS_HZ 1000 /* decrementer freq: 1 ms ticks */
89 #define CONFIG_BAUDRATE 115200
90 #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, 230400 }
92 #define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
93 #define CONFIG_SYS_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
96 * How to get access to the slot ID. Put this here to make it easy
97 * to modify in a centralized location. This is used in the HDLC
98 * driver to set the MAC.
100 #define CONFIG_CHECK_ETHERNET_PRESENT 1
101 #define CONFIG_SYS_SLOT_ID_BASE CONFIG_SYS_PIGGY_BASE
102 #define CONFIG_SYS_SLOT_ID_OFF (0x07) /* register offset */
103 #define CONFIG_SYS_SLOT_ID_MASK (0x3f) /* mask for slot ID bits */
108 #define CONFIG_BOOTP_BOOTFILESIZE
109 #define CONFIG_BOOTP_BOOTPATH
110 #define CONFIG_BOOTP_GATEWAY
111 #define CONFIG_BOOTP_HOSTNAME
113 #endif /* __CONFIG_KEYMILE_H */