3 * Marvell Semiconductor <www.marvell.com>
4 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
6 * See file CREDITS for list of people who contributed to this
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25 #ifndef _CONFIG_ICONNECT_H
26 #define _CONFIG_ICONNECT_H
29 * Version number information
31 #define CONFIG_IDENT_STRING "\nIomega iConnect Wireless"
38 * High Level Configuration Options (easy to change)
40 #define CONFIG_MARVELL 1
41 #define CONFIG_ARM926EJS 1 /* Basic Architecture */
42 #define CONFIG_FEROCEON_88FR131 1 /* CPU Core subversion */
43 #define CONFIG_KIRKWOOD 1 /* SOC Family Name */
44 #define CONFIG_KW88F6281 1 /* SOC Name */
45 #define CONFIG_MACH_ICONNECT /* Machine type */
47 #define CONFIG_MD5 /* get_random_hex on krikwood needs MD5 support */
48 #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
49 #define CONFIG_KIRKWOOD_EGIGA_INIT /* Enable GbePort0/1 for kernel */
50 #define CONFIG_KIRKWOOD_RGMII_PAD_1V8 /* Set RGMII Pad voltage to 1.8V */
51 #define CONFIG_KIRKWOOD_PCIE_INIT /*enable pci express on iconnect board*/
56 #define CONFIG_SYS_HZ 1000
59 * NS16550 Configuration
61 #define CONFIG_SYS_NS16550
62 #define CONFIG_SYS_NS16550_SERIAL
63 #define CONFIG_SYS_NS16550_REG_SIZE (-4)
64 #define CONFIG_SYS_NS16550_CLK CONFIG_SYS_TCLK
65 #define CONFIG_SYS_NS16550_COM1 KW_UART0_BASE
68 * Serial Port configuration
69 * The following definitions let you select what serial you want to use
70 * for your console driver.
73 #define CONFIG_CONS_INDEX 1 /*Console on UART0 */
74 #define CONFIG_BAUDRATE 115200
75 #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \
76 115200,230400, 460800, 921600 }
78 #define CONFIG_BOOTDELAY 3 /* default enable autoboot */
81 * For booting Linux, the board info and command line data
82 * have to be in the first 8 MB of memory, since this is
83 * the maximum mapped by the Linux kernel during initialization.
85 #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
86 #define CONFIG_INITRD_TAG 1 /* enable INITRD tag */
87 #define CONFIG_SETUP_MEMORY_TAGS 1 /* enable memory tag */
89 #define CONFIG_SYS_PROMPT "Marvell>> " /* Command Prompt */
90 #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buff Size */
91 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE \
92 +sizeof(CONFIG_SYS_PROMPT) + 16) /* Print Buff */
95 * Commands configuration
97 #define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
98 #include <config_cmd_default.h>
99 #define CONFIG_CMD_AUTOSCRIPT
100 #define CONFIG_CMD_DHCP
101 #define CONFIG_CMD_ENV
102 #define CONFIG_CMD_MII
103 #define CONFIG_CMD_NAND
104 #define CONFIG_CMD_PING
105 #define CONFIG_CMD_USB
110 #ifdef CONFIG_CMD_NAND
111 #define CONFIG_NAND_KIRKWOOD
112 #define CONFIG_SYS_MAX_NAND_DEVICE 1
113 #define NAND_MAX_CHIPS 1
114 #define CONFIG_SYS_NAND_BASE 0xD8000000 /* KW_DEFADR_NANDF */
115 #define NAND_ALLOW_ERASE_ALL 1
119 * Environment variables configurations
121 #ifdef CONFIG_CMD_NAND
122 #define CONFIG_ENV_IS_IN_NAND 1
123 #define CONFIG_ENV_SECT_SIZE 0x20000 /* 128K */
125 #define CONFIG_ENV_IS_NOWHERE 1 /* if env in SDRAM */
128 * max 4k env size is enough, but in case of nand
129 * it has to be rounded to sector size
131 #define CONFIG_ENV_SIZE 0x20000 /* 128k */
132 #define CONFIG_ENV_ADDR 0xc0000 /*it's above original iConnect u-boot envirinment 0xa0000 */
133 #define CONFIG_ENV_OFFSET 0xc0000 /* env starts here */
136 * Default environment variables
138 #define CONFIG_BOOTCOMMAND "${x_bootcmd_kernel}; " \
139 "setenv bootargs ${x_bootargs} ${x_bootargs_root}; " \
140 "${x_bootcmd_usb}; bootm 0x6400000;"
142 #define CONFIG_MTDPARTS "orion_nand:1M(u-boot)," \
143 "3M@1M(kernel),32M@4M(rootfs),475M@36M(data)\0"
145 #define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \
146 "=ttyS0,115200 mtdparts="CONFIG_MTDPARTS \
147 "x_bootcmd_kernel=nand read 0x6400000 0x100000 0x300000\0" \
148 "x_bootcmd_usb=usb start\0" \
149 "x_bootargs_root=root=/dev/mtdblock2 rw rootfstype=jffs2\0"
152 * Size of malloc() pool
154 #define CONFIG_SYS_MALLOC_LEN (1024 * 1024) /* 1 MiB for malloc() */
155 /* size in bytes reserved for initial data */
156 #define CONFIG_SYS_GBL_DATA_SIZE 128
159 * Other required minimal configurations
161 #define CONFIG_SYS_LONGHELP
162 #define CONFIG_AUTO_COMPLETE
163 #define CONFIG_CMDLINE_EDITING
164 #define CONFIG_ARCH_CPU_INIT /* call arch_cpu_init() */
165 #define CONFIG_ARCH_MISC_INIT /* call arch_misc_init() */
166 #define CONFIG_DISPLAY_CPUINFO /* Display cpu info */
167 #define CONFIG_NR_DRAM_BANKS 4
168 #define CONFIG_STACKSIZE 0x00100000 /* regular stack- 1M */
169 #define CONFIG_SYS_LOAD_ADDR 0x00800000 /* default load adr- 8M */
170 #define CONFIG_SYS_MEMTEST_START 0x00400000 /* 4M */
171 #define CONFIG_SYS_MEMTEST_END 0x007fffff /*(_8M -1) */
172 #define CONFIG_SYS_RESET_ADDRESS 0xffff0000 /* Rst Vector Adr */
173 #define CONFIG_SYS_MAXARGS 16 /* max number of command args */
176 * Ethernet Driver configuration
178 #ifdef CONFIG_CMD_NET
179 #define CONFIG_NETCONSOLE /* include NetConsole support */
180 #define CONFIG_NET_MULTI /* specify more that one ports available */
181 #define CONFIG_MII /* expose smi ove miiphy interface */
182 #define CONFIG_MVGBE /* Enable kirkwood Gbe Controller Driver */
183 #define CONFIG_SYS_FAULT_ECHO_LINK_DOWN /* detect link using phy */
184 #define CONFIG_MVGBE_PORTS {1,0} /* enable port 0 only */
185 #define CONFIG_PHY_BASE_ADR 11
186 #define CONFIG_ENV_OVERWRITE /* ethaddr can be reprogrammed */
187 #define CONFIG_RESET_PHY_R /* use reset_phy() to init mv8831116 PHY */
188 #endif /* CONFIG_CMD_NET */
193 #ifdef CONFIG_CMD_USB
194 #define CONFIG_USB_EHCI /* Enable EHCI USB support */
195 #define CONFIG_USB_EHCI_KIRKWOOD /* on Kirkwood platform */
196 #define CONFIG_EHCI_IS_TDI
197 #define CONFIG_USB_STORAGE
198 #define CONFIG_DOS_PARTITION
199 #define CONFIG_ISO_PARTITION
200 #define CONFIG_SUPPORT_VFAT
201 #endif /* CONFIG_CMD_USB */
206 #define CONFIG_CMD_EXT2
207 #define CONFIG_CMD_FAT
208 #define CONFIG_CMD_JFFS2
209 #define CONFIG_CMD_UBI
210 #define CONFIG_CMD_UBIFS
211 #define CONFIG_RBTREE
212 #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
213 #define CONFIG_MTD_PARTITIONS
214 #define CONFIG_CMD_MTDPARTS
217 #endif /* _CONFIG_SHEEVAPLUG_H */
220 * Marvell Semiconductor <www.marvell.com>
221 * Written-by: Prafulla Wadaskar <prafulla@marvell.com>
223 * See file CREDITS for list of people who contributed to this
226 * This program is free software; you can redistribute it and/or
227 * modify it under the terms of the GNU General Public License as
228 * published by the Free Software Foundation; either version 2 of
229 * the License, or (at your option) any later version.
231 * This program is distributed in the hope that it will be useful,
232 * but WITHOUT ANY WARRANTY; without even the implied warranty of
233 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
234 * GNU General Public License for more details.
236 * You should have received a copy of the GNU General Public License
237 * along with this program; if not, write to the Free Software
238 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
242 #ifndef _CONFIG_ICONNECT_H
243 #define _CONFIG_ICONNECT_H
246 * Version number information
248 #define CONFIG_IDENT_STRING "\nIomega iConnect Wireless"
255 * High Level Configuration Options (easy to change)
257 #define CONFIG_MARVELL 1
258 #define CONFIG_ARM926EJS 1 /* Basic Architecture */
259 #define CONFIG_FEROCEON_88FR131 1 /* CPU Core subversion */
260 #define CONFIG_KIRKWOOD 1 /* SOC Family Name */
261 #define CONFIG_KW88F6281 1 /* SOC Name */
262 #define CONFIG_MACH_ICONNECT /* Machine type */
264 #define CONFIG_MD5 /* get_random_hex on krikwood needs MD5 support */
265 #define CONFIG_SKIP_LOWLEVEL_INIT /* disable board lowlevel_init */
266 #define CONFIG_KIRKWOOD_EGIGA_INIT /* Enable GbePort0/1 for kernel */
267 #define CONFIG_KIRKWOOD_RGMII_PAD_1V8 /* Set RGMII Pad voltage to 1.8V */
270 * CLKs configurations
272 #define CONFIG_SYS_HZ 1000
275 * NS16550 Configuration
277 #define CONFIG_SYS_NS16550
278 #define CONFIG_SYS_NS16550_SERIAL
279 #define CONFIG_SYS_NS16550_REG_SIZE (-4)
280 #define CONFIG_SYS_NS16550_CLK CONFIG_SYS_TCLK
281 #define CONFIG_SYS_NS16550_COM1 KW_UART0_BASE
284 * Serial Port configuration
285 * The following definitions let you select what serial you want to use
286 * for your console driver.
289 #define CONFIG_CONS_INDEX 1 /*Console on UART0 */
290 #define CONFIG_BAUDRATE 115200
291 #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, \
292 115200,230400, 460800, 921600 }
294 #define CONFIG_BOOTDELAY 3 /* default enable autoboot */
297 * For booting Linux, the board info and command line data
298 * have to be in the first 8 MB of memory, since this is
299 * the maximum mapped by the Linux kernel during initialization.
301 #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
302 #define CONFIG_INITRD_TAG 1 /* enable INITRD tag */
303 #define CONFIG_SETUP_MEMORY_TAGS 1 /* enable memory tag */
305 #define CONFIG_SYS_PROMPT "Marvell>> " /* Command Prompt */
306 #define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buff Size */
307 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE \
308 +sizeof(CONFIG_SYS_PROMPT) + 16) /* Print Buff */
311 * Commands configuration
313 #define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
314 #include <config_cmd_default.h>
315 #define CONFIG_CMD_AUTOSCRIPT
316 #define CONFIG_CMD_DHCP
317 #define CONFIG_CMD_ENV
318 #define CONFIG_CMD_MII
319 #define CONFIG_CMD_NAND
320 #define CONFIG_CMD_PING
321 #define CONFIG_CMD_USB
326 #ifdef CONFIG_CMD_NAND
327 #define CONFIG_NAND_KIRKWOOD
328 #define CONFIG_SYS_MAX_NAND_DEVICE 1
329 #define NAND_MAX_CHIPS 1
330 #define CONFIG_SYS_NAND_BASE 0xD8000000 /* KW_DEFADR_NANDF */
331 #define NAND_ALLOW_ERASE_ALL 1
335 * Environment variables configurations
337 #ifdef CONFIG_CMD_NAND
338 #define CONFIG_ENV_IS_IN_NAND 1
339 #define CONFIG_ENV_SECT_SIZE 0x20000 /* 128K */
341 #define CONFIG_ENV_IS_NOWHERE 1 /* if env in SDRAM */
344 * max 4k env size is enough, but in case of nand
345 * it has to be rounded to sector size
347 #define CONFIG_ENV_SIZE 0x20000 /* 128k */
348 #define CONFIG_ENV_ADDR 0xc0000 /*it's above original iConnect u-boot envirinment 0xa0000 */
349 #define CONFIG_ENV_OFFSET 0xc0000 /* env starts here */
352 * Default environment variables
354 #define CONFIG_BOOTCOMMAND "${x_bootcmd_kernel}; " \
355 "setenv bootargs ${x_bootargs} ${x_bootargs_root}; " \
356 "${x_bootcmd_usb}; bootm 0x6400000;"
358 #define CONFIG_MTDPARTS "orion_nand:1M(u-boot)," \
359 "3M@1M(kernel),64M@4M(rootfs),443M@68M(data) rw\0"
361 #define CONFIG_EXTRA_ENV_SETTINGS "x_bootargs=console" \
362 "=ttyS0,115200 mtdparts="CONFIG_MTDPARTS \
363 "x_bootcmd_kernel=nand read 0x6400000 0x100000 0x300000\0" \
364 "x_bootcmd_usb=usb start\0" \
365 "x_bootargs_root=root=/dev/mtdblock3 rw rootfstype=jffs2\0"
368 * Size of malloc() pool
370 #define CONFIG_SYS_MALLOC_LEN (1024 * 1024) /* 1 MiB for malloc() */
371 /* size in bytes reserved for initial data */
372 #define CONFIG_SYS_GBL_DATA_SIZE 128
375 * Other required minimal configurations
377 #define CONFIG_SYS_LONGHELP
378 #define CONFIG_AUTO_COMPLETE
379 #define CONFIG_CMDLINE_EDITING
380 #define CONFIG_ARCH_CPU_INIT /* call arch_cpu_init() */
381 #define CONFIG_ARCH_MISC_INIT /* call arch_misc_init() */
382 #define CONFIG_DISPLAY_CPUINFO /* Display cpu info */
383 #define CONFIG_NR_DRAM_BANKS 4
384 #define CONFIG_STACKSIZE 0x00100000 /* regular stack- 1M */
385 #define CONFIG_SYS_LOAD_ADDR 0x00800000 /* default load adr- 8M */
386 #define CONFIG_SYS_MEMTEST_START 0x00400000 /* 4M */
387 #define CONFIG_SYS_MEMTEST_END 0x007fffff /*(_8M -1) */
388 #define CONFIG_SYS_RESET_ADDRESS 0xffff0000 /* Rst Vector Adr */
389 #define CONFIG_SYS_MAXARGS 16 /* max number of command args */
392 * Ethernet Driver configuration
394 #ifdef CONFIG_CMD_NET
395 #define CONFIG_NETCONSOLE /* include NetConsole support */
396 #define CONFIG_NET_MULTI /* specify more that one ports available */
397 #define CONFIG_MII /* expose smi ove miiphy interface */
398 #define CONFIG_MVGBE /* Enable kirkwood Gbe Controller Driver */
399 #define CONFIG_SYS_FAULT_ECHO_LINK_DOWN /* detect link using phy */
400 #define CONFIG_MVGBE_PORTS {1,0} /* enable port 0 only */
401 #define CONFIG_PHY_BASE_ADR 11
402 #define CONFIG_ENV_OVERWRITE /* ethaddr can be reprogrammed */
403 #define CONFIG_RESET_PHY_R /* use reset_phy() to init mv8831116 PHY */
404 #endif /* CONFIG_CMD_NET */
409 #ifdef CONFIG_CMD_USB
410 #define CONFIG_USB_EHCI /* Enable EHCI USB support */
411 #define CONFIG_USB_EHCI_KIRKWOOD /* on Kirkwood platform */
412 #define CONFIG_EHCI_IS_TDI
413 #define CONFIG_USB_STORAGE
414 #define CONFIG_DOS_PARTITION
415 #define CONFIG_ISO_PARTITION
416 #define CONFIG_SUPPORT_VFAT
417 #endif /* CONFIG_CMD_USB */
422 #define CONFIG_CMD_EXT2
423 #define CONFIG_CMD_FAT
424 #define CONFIG_CMD_JFFS2
425 #define CONFIG_CMD_UBI
426 #define CONFIG_CMD_UBIFS
427 #define CONFIG_RBTREE
428 #define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
429 #define CONFIG_MTD_PARTITIONS
430 #define CONFIG_CMD_MTDPARTS
433 #endif /* _CONFIG_SHEEVAPLUG_H */
This page took 0.10049 seconds and 5 git commands to generate.