Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 1 | /* |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 2 | * (C) Copyright 2008-2011 |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 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_KEYMILE_H |
| 25 | #define __CONFIG_KEYMILE_H |
| 26 | |
| 27 | /* Do boardspecific init for all boards */ |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 28 | #define CONFIG_BOARD_EARLY_INIT_R |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 29 | |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 30 | /* |
Prafulla Wadaskar | 84cba2e | 2010-10-27 17:46:06 +0530 | [diff] [blame] | 31 | * By default kwbimage.cfg from board specific folder is used |
| 32 | * If for some board, different configuration file need to be used, |
| 33 | * CONFIG_SYS_KWD_CONFIG should be defined in board specific header file |
| 34 | */ |
| 35 | #ifndef CONFIG_SYS_KWD_CONFIG |
Wolfgang Denk | 302141d | 2010-11-27 23:30:56 +0100 | [diff] [blame] | 36 | #define CONFIG_SYS_KWD_CONFIG $(SRCTREE)/$(CONFIG_BOARDDIR)/kwbimage.cfg |
Prafulla Wadaskar | 84cba2e | 2010-10-27 17:46:06 +0530 | [diff] [blame] | 37 | #endif /* CONFIG_SYS_KWD_CONFIG */ |
| 38 | |
Wolfgang Denk | 302141d | 2010-11-27 23:30:56 +0100 | [diff] [blame] | 39 | /* |
Prafulla Wadaskar | 84cba2e | 2010-10-27 17:46:06 +0530 | [diff] [blame] | 40 | * CONFIG_SYS_TEXT_BASE can be defined in board specific header file, if needed |
| 41 | */ |
| 42 | #ifndef CONFIG_SYS_TEXT_BASE |
| 43 | #define CONFIG_SYS_TEXT_BASE 0x00400000 |
| 44 | #endif /* CONFIG_SYS_TEXT_BASE */ |
| 45 | |
| 46 | /* |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 47 | * Command line configuration. |
| 48 | */ |
| 49 | #include <config_cmd_default.h> |
| 50 | |
| 51 | #define CONFIG_CMD_ASKENV |
| 52 | #define CONFIG_CMD_DHCP |
| 53 | #define CONFIG_CMD_ECHO |
| 54 | #define CONFIG_CMD_IMMAP |
| 55 | #define CONFIG_CMD_MII |
| 56 | #define CONFIG_CMD_PING |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 57 | #define CONFIG_CMD_EEPROM |
| 58 | #define CONFIG_CMD_I2C |
Heiko Schocher | a8d5189 | 2009-03-12 07:37:18 +0100 | [diff] [blame] | 59 | #define CONFIG_CMD_JFFS2 |
Heiko Schocher | 875f4728 | 2009-07-09 12:04:18 +0200 | [diff] [blame] | 60 | #define CONFIG_CMD_MTDPARTS |
Holger Brunck | 0bd8202 | 2011-03-14 15:49:05 +0100 | [diff] [blame] | 61 | #define CONFIG_CMD_SETEXPR |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 62 | |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 63 | #undef CONFIG_WATCHDOG /* disable platform specific watchdog */ |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 64 | |
Holger Brunck | 0bd8202 | 2011-03-14 15:49:05 +0100 | [diff] [blame] | 65 | #define CONFIG_BOOTDELAY 2 /* autoboot after 2 seconds */ |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 66 | #undef CONFIG_BOOTARGS /* the boot command will set bootargs */ |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 67 | |
| 68 | /* |
| 69 | * Miscellaneous configurable options |
| 70 | */ |
| 71 | #define CONFIG_SYS_HUSH_PARSER |
| 72 | #define CONFIG_SYS_PROMPT_HUSH_PS2 "> " |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 73 | #define CONFIG_SYS_LONGHELP /* undef to save memory */ |
| 74 | #define CONFIG_SYS_PROMPT "=> " /* Monitor Command Prompt */ |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 75 | #if defined(CONFIG_CMD_KGDB) |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 76 | #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buffer Size */ |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 77 | #else |
Holger Brunck | 0bd8202 | 2011-03-14 15:49:05 +0100 | [diff] [blame] | 78 | #define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */ |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 79 | #endif |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 80 | #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16) |
Holger Brunck | 0bd8202 | 2011-03-14 15:49:05 +0100 | [diff] [blame] | 81 | #define CONFIG_SYS_MAXARGS 32 /* max number of command args */ |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 82 | #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE |
| 83 | #define CONFIG_CMDLINE_EDITING |
| 84 | #define CONFIG_AUTO_COMPLETE |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 85 | |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 86 | #define CONFIG_HUSH_INIT_VAR |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 87 | |
| 88 | #define CONFIG_SYS_ALT_MEMTEST /* memory test, takes time */ |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 89 | |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 90 | #define CONFIG_SYS_HZ 1000 /* decr. freq: 1 ms ticks */ |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 91 | |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 92 | #define CONFIG_BAUDRATE 115200 |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 93 | #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, 230400 } |
| 94 | |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 95 | #define CONFIG_LOADS_ECHO |
| 96 | #define CONFIG_SYS_LOADS_BAUD_CHANGE |
Prafulla Wadaskar | f8e4262 | 2010-09-30 19:33:19 +0530 | [diff] [blame] | 97 | #define CONFIG_SYS_BOARD_DRAM_INIT /* Used board specific dram_init */ |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 98 | |
| 99 | /* |
| 100 | * How to get access to the slot ID. Put this here to make it easy |
| 101 | * to modify in a centralized location. This is used in the HDLC |
| 102 | * driver to set the MAC. |
| 103 | */ |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 104 | #define CONFIG_CHECK_ETHERNET_PRESENT |
Heiko Schocher | 3a8dd21 | 2011-03-08 10:47:39 +0100 | [diff] [blame^] | 105 | #define CONFIG_SYS_SLOT_ID_BASE CONFIG_SYS_KMBEC_FPGA_BASE |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 106 | #define CONFIG_SYS_SLOT_ID_OFF (0x07) /* register offset */ |
| 107 | #define CONFIG_SYS_SLOT_ID_MASK (0x3f) /* mask for slot ID bits */ |
| 108 | |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 109 | #define CONFIG_I2C_MULTI_BUS |
Heiko Schocher | 875f4728 | 2009-07-09 12:04:18 +0200 | [diff] [blame] | 110 | #define CONFIG_SYS_MAX_I2C_BUS 1 |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 111 | #define CONFIG_SYS_I2C_INIT_BOARD |
| 112 | #define CONFIG_I2C_MUX |
Heiko Schocher | a8d5189 | 2009-03-12 07:37:18 +0100 | [diff] [blame] | 113 | |
| 114 | /* EEprom support */ |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 115 | #define CONFIG_SYS_I2C_MULTI_EEPROMS |
Heiko Schocher | a8d5189 | 2009-03-12 07:37:18 +0100 | [diff] [blame] | 116 | #define CONFIG_SYS_EEPROM_PAGE_WRITE_ENABLE |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 117 | #define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS 3 |
| 118 | #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10 |
Heiko Schocher | a8d5189 | 2009-03-12 07:37:18 +0100 | [diff] [blame] | 119 | |
| 120 | /* Support the IVM EEprom */ |
| 121 | #define CONFIG_SYS_IVM_EEPROM_ADR 0x50 |
| 122 | #define CONFIG_SYS_IVM_EEPROM_MAX_LEN 0x400 |
| 123 | #define CONFIG_SYS_IVM_EEPROM_PAGE_LEN 0x100 |
| 124 | |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 125 | #define CONFIG_SYS_FLASH_PROTECTION |
Heiko Schocher | a8d5189 | 2009-03-12 07:37:18 +0100 | [diff] [blame] | 126 | |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 127 | /* |
| 128 | * BOOTP options |
| 129 | */ |
| 130 | #define CONFIG_BOOTP_BOOTFILESIZE |
| 131 | #define CONFIG_BOOTP_BOOTPATH |
| 132 | #define CONFIG_BOOTP_GATEWAY |
| 133 | #define CONFIG_BOOTP_HOSTNAME |
| 134 | |
Heiko Schocher | 8ce3dd5 | 2011-03-15 16:52:29 +0100 | [diff] [blame] | 135 | #define CONFIG_SYS_MALLOC_LEN (4 * 1024 * 1024) |
Heiko Schocher | 875f4728 | 2009-07-09 12:04:18 +0200 | [diff] [blame] | 136 | |
Heiko Schocher | 875f4728 | 2009-07-09 12:04:18 +0200 | [diff] [blame] | 137 | /* UBI Support for all Keymile boards */ |
| 138 | #define CONFIG_CMD_UBI |
| 139 | #define CONFIG_RBTREE |
| 140 | #define CONFIG_MTD_PARTITIONS |
Heiko Schocher | 875f4728 | 2009-07-09 12:04:18 +0200 | [diff] [blame] | 141 | #define CONFIG_MTD_DEVICE |
| 142 | #define CONFIG_MTD_CONCAT |
| 143 | |
Heiko Schocher | a8d5189 | 2009-03-12 07:37:18 +0100 | [diff] [blame] | 144 | /* define this to use the keymile's io muxing feature */ |
| 145 | /*#define CONFIG_IO_MUXING */ |
| 146 | |
| 147 | #ifdef CONFIG_IO_MUXING |
| 148 | #define CONFIG_KM_DEF_ENV_IOMUX \ |
Heiko Schocher | c5e8405 | 2010-07-20 17:45:02 +0200 | [diff] [blame] | 149 | "nc=setenv ethact HDLC \0" \ |
| 150 | "nce=setenv ethact SCC \0" \ |
Heiko Schocher | a8d5189 | 2009-03-12 07:37:18 +0100 | [diff] [blame] | 151 | "stderr=serial,nc \0" \ |
| 152 | "stdin=serial,nc \0" \ |
| 153 | "stdout=serial,nc \0" \ |
| 154 | "tftpsrcp=69 \0" \ |
| 155 | "tftpdstp=69 \0" |
| 156 | #else |
| 157 | #define CONFIG_KM_DEF_ENV_IOMUX \ |
| 158 | "stderr=serial \0" \ |
| 159 | "stdin=serial \0" \ |
| 160 | "stdout=serial \0" |
| 161 | #endif |
| 162 | |
| 163 | #ifndef CONFIG_KM_DEF_ENV_PRIVATE |
| 164 | #define CONFIG_KM_DEF_ENV_PRIVATE \ |
| 165 | "kmprivate=empty\0" |
| 166 | #endif |
| 167 | |
Holger Brunck | 752ba31 | 2011-03-14 16:01:04 +0100 | [diff] [blame] | 168 | #ifndef CONFIG_KM_DEF_NETDEV |
| 169 | #define CONFIG_KM_DEF_NETDEV \ |
| 170 | "netdev=eth0\0" |
| 171 | #endif |
| 172 | |
| 173 | #ifndef CONFIG_KM_UBI_PARTITION_NAME |
| 174 | #define CONFIG_KM_UBI_PARTITION_NAME "ubi0" |
| 175 | #endif |
| 176 | #ifndef CONFIG_KM_UBI_LINUX_MTD_NAME |
| 177 | #define CONFIG_KM_UBI_LINUX_MTD_NAME "ubi0" |
| 178 | #endif |
| 179 | |
Heiko Schocher | a8d5189 | 2009-03-12 07:37:18 +0100 | [diff] [blame] | 180 | #define xstr(s) str(s) |
| 181 | #define str(s) #s |
| 182 | |
Holger Brunck | 752ba31 | 2011-03-14 16:01:04 +0100 | [diff] [blame] | 183 | /* |
| 184 | * bootargs |
| 185 | * - modify 'bootargs' |
| 186 | * |
| 187 | * - 'addip': add ip configuration |
| 188 | * - 'addpanic': add kernel panic options |
| 189 | * - 'addramfs': add phram device for the rootfilesysten in ram |
| 190 | * - 'addtty': add console=... |
| 191 | * - 'nfsargs': default arguments for nfs boot |
| 192 | * - 'flashargs': defaults arguments for flash base boot |
| 193 | * |
| 194 | * processor specific settings |
| 195 | * - 'addmtdparts': add mtd partition information |
| 196 | */ |
| 197 | #define CONFIG_KM_DEF_ENV_BOOTARGS \ |
| 198 | "addinit=" \ |
| 199 | "setenv bootargs ${bootargs} init=${init}\0" \ |
| 200 | "addip=" \ |
| 201 | "setenv bootargs ${bootargs} " \ |
| 202 | "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}" \ |
| 203 | ":${hostname}:${netdev}:off\0" \ |
| 204 | "addpanic=" \ |
| 205 | "setenv bootargs ${bootargs} " \ |
| 206 | "panic=1 panic_on_oops=1\0" \ |
| 207 | "addramfs=" \ |
| 208 | "setenv bootargs \"" \ |
| 209 | "${bootargs} phram.phram=" \ |
| 210 | "rootfs${actual_bank},${rootfsaddr},${rootfssize}\"\0" \ |
| 211 | "addtty=" \ |
| 212 | "setenv bootargs ${bootargs}" \ |
| 213 | " console=" CONFIG_KM_CONSOLE_TTY ",${baudrate}\0" \ |
| 214 | "nfsargs=" \ |
| 215 | "setenv bootargs " \ |
| 216 | "ubi.mtd=" CONFIG_KM_UBI_LINUX_MTD_NAME " " \ |
| 217 | "root=/dev/nfs rw " \ |
| 218 | "nfsroot=${serverip}:${rootpath}\0" \ |
| 219 | "flashargs=" \ |
| 220 | "setenv bootargs " \ |
| 221 | "ubi.mtd=" CONFIG_KM_UBI_LINUX_MTD_NAME " " \ |
| 222 | "root=mtdblock:rootfs${actual_bank} " \ |
| 223 | "rootfstype=squashfs ro\0" \ |
| 224 | "" |
| 225 | |
| 226 | #define CONFIG_KM_DEF_ENV_COMPUTE_ADDR \ |
| 227 | "setboardid=" \ |
| 228 | "if test \"x${boardId}\" = \"x\"; then; " \ |
| 229 | "setenv boardId ${IVM_BoardId} && " \ |
| 230 | "setenv hwKey ${IVM_HWKey}; " \ |
| 231 | "else; " \ |
| 232 | "echo \\\\c; " \ |
| 233 | "fi\0" |
| 234 | |
| 235 | /* |
| 236 | * flash_boot |
| 237 | * - commands for booting from flash |
| 238 | * |
| 239 | * - 'cramfsaddr': address to the cramfs (in ram) |
| 240 | * - 'cramfsloadkernel': copy kernel from a cramfs to ram |
| 241 | * - 'ubiattach': attach ubi partition |
| 242 | * - 'ubicopy': copy ubi volume to ram |
| 243 | * - volume names: bootfs0, bootfs1, bootfs2, ... |
| 244 | * - 'ubiparition': mtd parition name for ubi |
| 245 | * |
| 246 | * processor specific settings |
| 247 | * - 'cramfsloadfdt': copy fdt from a cramfs to ram |
| 248 | */ |
| 249 | #define CONFIG_KM_DEF_ENV_FLASH_BOOT \ |
| 250 | "cramfsaddr="xstr(CONFIG_KM_CRAMFS_ADDR) "\0" \ |
| 251 | "cramfsloadkernel=" \ |
| 252 | "cramfsload ${kernel_addr_r} uImage && " \ |
| 253 | "setenv actual_kernel_addr ${kernel_addr_r}\0" \ |
| 254 | "ubiattach=ubi part ${ubipartition}\0" \ |
| 255 | "ubicopy=ubi read ${cramfsaddr} bootfs${actual_bank}\0" \ |
| 256 | "ubipartition=" CONFIG_KM_UBI_PARTITION_NAME "\0" \ |
| 257 | "" |
| 258 | |
| 259 | /* |
| 260 | * net_boot |
| 261 | * - commands for booting over the network |
| 262 | * |
| 263 | * - 'tftpkernel': load a kernel with tftp into ram |
| 264 | * |
| 265 | * processor specific settings |
| 266 | * - 'tftpfdt': load fdt with tftp into ram |
| 267 | */ |
| 268 | #define CONFIG_KM_DEF_ENV_NET_BOOT \ |
| 269 | "tftpkernel=" \ |
| 270 | "tftpboot ${kernel_addr_r} ${kernel_file} && " \ |
| 271 | "setenv actual_kernel_addr ${kernel_addr_r} \0" |
| 272 | |
| 273 | /* |
| 274 | * constants |
| 275 | * - KM specific constants and commands |
| 276 | * |
| 277 | * - 'default': setup default environment |
| 278 | */ |
| 279 | #define CONFIG_KM_DEF_ENV_CONSTANTS \ |
| 280 | "actual=setenv actual_bank ${initial_boot_bank}\0" \ |
| 281 | "actual0=setenv actual_bank 0\0" \ |
| 282 | "actual_bank=${initial_boot_bank}\0" \ |
| 283 | "default=" \ |
| 284 | "setenv default 'run newenv; reset' && " \ |
| 285 | "run release && saveenv; reset\0" \ |
| 286 | "checkboardid=" \ |
| 287 | "test \"x${boardId}\" = \"x${IVM_BoardId}\"\0" \ |
| 288 | "printbootargs=print bootargs\0" \ |
| 289 | "rootfsfile="xstr(CONFIG_HOSTNAME) "/rootfsImage\0" \ |
| 290 | "" |
| 291 | |
Heiko Schocher | a8d5189 | 2009-03-12 07:37:18 +0100 | [diff] [blame] | 292 | #ifndef CONFIG_KM_DEF_ENV |
| 293 | #define CONFIG_KM_DEF_ENV \ |
Heiko Schocher | a8d5189 | 2009-03-12 07:37:18 +0100 | [diff] [blame] | 294 | CONFIG_KM_DEF_ENV_IOMUX \ |
| 295 | CONFIG_KM_DEF_ENV_PRIVATE \ |
Holger Brunck | 752ba31 | 2011-03-14 16:01:04 +0100 | [diff] [blame] | 296 | CONFIG_KM_DEF_NETDEV \ |
| 297 | CONFIG_KM_DEF_ENV_CPU \ |
| 298 | CONFIG_KM_DEF_ENV_BOOTARGS \ |
| 299 | CONFIG_KM_DEF_ENV_COMPUTE_ADDR \ |
| 300 | CONFIG_KM_DEF_ENV_FLASH_BOOT \ |
| 301 | CONFIG_KM_DEF_ENV_NET_BOOT \ |
| 302 | "altbootcmd=run bootcmd\0" \ |
| 303 | "bootcmd=run default\0" \ |
| 304 | "bootlimit=2\0" \ |
| 305 | "init=/sbin/init-overlay.sh\0" \ |
| 306 | "kernel_addr_r="xstr(CONFIG_KM_KERNEL_ADDR) "\0" \ |
| 307 | "kernel_file="xstr(CONFIG_HOSTNAME) "/uImage\0" \ |
| 308 | "kernel_name=uImage\0" \ |
| 309 | "load=tftpboot ${u-boot_addr_r} ${u-boot}\0" \ |
| 310 | "mtdids=" MTDIDS_DEFAULT "\0" \ |
| 311 | "mtdparts=" MTDPARTS_DEFAULT "\0" \ |
| 312 | "u-boot="xstr(CONFIG_HOSTNAME) "/u-boot.bin\0" \ |
| 313 | "u-boot_addr_r="xstr(CONFIG_KM_KERNEL_ADDR) "\0" \ |
Heiko Schocher | a8d5189 | 2009-03-12 07:37:18 +0100 | [diff] [blame] | 314 | "" |
| 315 | #endif /* CONFIG_KM_DEF_ENV */ |
| 316 | |
| 317 | #define CONFIG_VERSION_VARIABLE /* include version env variable */ |
| 318 | |
Heiko Schocher | 7937e4f | 2008-11-20 09:59:09 +0100 | [diff] [blame] | 319 | #endif /* __CONFIG_KEYMILE_H */ |