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_MIPS24KEC 1 /* MIPS 24KEc CPU core */
35 #define CONFIG_DANUBE 1 /* in a Danube/Twinpass Chip */
36 #define CONFIG_EASY50712 1 /* on the Danube Reference Board */
38 #define CONFIG_SYS_MIPS_MULTI_CPU 1 /* This is a multi cpu system */
40 #define CONFIG_SYS_MAX_RAM 32*1024*1024
42 #define CONFIG_FLASH_CFI_DRIVER 1
44 #define CONFIG_SYS_INIT_RAM_LOCK_MIPS
45 #ifdef CONFIG_SYS_RAMBOOT
46 //#warning CONFIG_SYS_RAMBOOT
47 #define CONFIG_SKIP_LOWLEVEL_INIT
48 #else /* CONFIG_SYS_RAMBOOT */
50 #define CONFIG_SYS_EBU_BOOT
52 #ifdef CONFIG_USE_DDR_RAM
53 /* FIXME: should not need these workarounds */
54 #define DANUBE_DDR_RAM_SIZE 32 /* 32M DDR-DRAM for reference board */
57 #define INFINEON_EBU_BOOTCFG 0x688C688C /* CMULT = 8 for 150 MHz */
59 #endif /* CONFIG_SYS_RAMBOOT */
62 #ifndef CPU_CLOCK_RATE
63 #define CPU_CLOCK_RATE (ifx_get_cpuclk())
67 #define CONFIG_SYS_PROMPT "DANUBE => " /* Monitor Command Prompt */
69 #undef CONFIG_SYS_HUSH_PARSER /* Use the HUSH parser */
72 * Include common defines/options for all Infineon boards
74 #include "ifx-common.h"
77 * Cache Configuration (cpu/chip specific, Danube)
79 #define CONFIG_SYS_DCACHE_SIZE 16384
80 #define CONFIG_SYS_ICACHE_SIZE 16384
81 #define CONFIG_SYS_CACHELINE_SIZE 32
82 #define CONFIG_SYS_MIPS_CACHE_OPER_MODE CONF_CM_CACHABLE_NO_WA
84 #define CONFIG_NET_MULTI
86 #define CONFIG_M4530_ETH
87 #define CONFIG_M4530_FPGA
90 #define CONFIG_IFX_ETOP
91 #define CLK_OUT2_25MHZ
92 #define CONFIG_EXTRA_SWITCH
94 #define CONFIG_RMII /* use interface in RMII mode */
97 #define CONFIG_CMD_MII
99 #define CONFIG_IFX_ASC
101 #ifdef CONFIG_USE_ASC0
102 #define CONFIG_SYS_IFX_ASC_BASE 0x1E100400
104 #define CONFIG_SYS_IFX_ASC_BASE 0x1E100C00
107 #ifdef CONFIG_SYS_RAMBOOT
108 /* Configuration of EBU: */
109 /* starting address from 0xb0000000 */
110 /* make the flash available from RAM boot */
111 # define CONFIG_EBU_ADDSEL0 0x10000031
112 # define CONFIG_EBU_BUSCON0 0x0001D7FF
115 #define CONFIG_CMD_HTTPD /* enable upgrade via HTTPD */
117 #endif /* __CONFIG_H */
This page took 0.057183 seconds and 5 git commands to generate.