2 * (C) Copyright 2003-2005
3 * Wolfgang Denk, DENX Software Engineering, wd@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,
25 * This file contains the configuration parameters for the Danube reference board.
33 #define CONFIG_MIPS32 1 /* MIPS32 CPU compatible */
34 #define CONFIG_MIPS34KC 1 /* MIPS 34Kc CPU core */
35 #define CONFIG_AR9 1 /* an AR9 device */
36 #define CONFIG_EASY50812 1 /* on the AR9 reference board */
37 #define CONFIG_SYS_MAX_RAM 32*1024*1024 /* 32 MB */
38 #define CONFIG_FLASH_CFI_DRIVER 1 /* using CFI flash driver */
40 #define CONFIG_SYS_INIT_RAM_LOCK_MIPS
42 /* use PPL1 and fixed values for CPU / DDR and bus speed */
43 #define CONFIG_USE_PLL1
44 #define CONFIG_CPU_333M_RAM_166M
45 #define CONFIG_CLASS_II_DDR_PAD
47 #ifdef CONFIG_SYS_RAMBOOT
48 #define CONFIG_SKIP_LOWLEVEL_INIT /* no cache */
50 #define CONFIG_SYS_EBU_BOOT
51 #define INFINEON_EBU_BOOTCFG 0x688C688C /* CMULT = 8 for 150 MHz */
54 #ifndef CPU_CLOCK_RATE
55 #define CPU_CLOCK_RATE (ifx_get_cpuclk())
58 #define CONFIG_SYS_PROMPT "AR9 => " /* Monitor Command Prompt */
59 #undef CONFIG_SYS_HUSH_PARSER /* Use the HUSH parser */
62 * Include common defines/options for all Lantiq boards
64 #include "ifx-common.h"
67 * Cache Configuration (cpu/chip specific, ar9)
69 #define CONFIG_SYS_DCACHE_SIZE (16384)
70 #define CONFIG_SYS_ICACHE_SIZE (16384)
71 #define CONFIG_SYS_CACHELINE_SIZE (32)
72 #define CONFIG_SYS_MIPS_CACHE_OPER_MODE CONF_CM_CACHABLE_NO_WA
74 #define CONFIG_NET_MULTI
76 #define CONFIG_M4530_ETH
77 #define CONFIG_M4530_FPGA
80 #define CONFIG_IFX_ETOP /* lantiq ethernet cpe interface */
81 #define CLK_OUT2_25MHZ
82 #define CONFIG_EXTRA_SWITCH /* search for external switches like tantos */
83 #define CONFIG_RMII /* use interface in RMII mode */
85 #define CONFIG_CMD_MII /* enable MII command */
87 #define CONFIG_IFX_ASC /* use lantiq ASC driver */
88 #ifdef CONFIG_USE_ASC0
89 #define CONFIG_SYS_IFX_ASC_BASE 0x1E100400
91 #define CONFIG_SYS_IFX_ASC_BASE 0x1E100C00
94 #ifdef CONFIG_SYS_RAMBOOT
95 /* Configuration of EBU: */
96 /* starting address from 0xb0000000 */
97 /* make the flash available from RAM boot */
98 # define CONFIG_EBU_ADDSEL0 0x10000031
99 # define CONFIG_EBU_BUSCON0 0x0001D7FF
102 #define CONFIG_CMD_HTTPD /* enable upgrade via HTTPD */
104 #endif /* __CONFIG_H */
This page took 0.047738 seconds and 5 git commands to generate.