Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) Matrix Vision GmbH 2008 |
| 3 | * |
| 4 | * Matrix Vision mvBlueLYNX-M7 configuration file |
| 5 | * based on Freescale's MPC8349ITX. |
| 6 | * |
| 7 | * See file CREDITS for list of people who contributed to this |
| 8 | * project. |
| 9 | * |
| 10 | * This program is free software; you can redistribute it and/or |
| 11 | * modify it under the terms of the GNU General Public License as |
| 12 | * published by the Free Software Foundation; either version 2 of |
| 13 | * the License, or (at your option) any later version. |
| 14 | * |
| 15 | * This program is distributed in the hope that it will be useful, |
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 | * GNU General Public License for more details. |
| 19 | * |
| 20 | * You should have received a copy of the GNU General Public License |
| 21 | * along with this program; if not, write to the Free Software |
| 22 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 23 | * MA 02111-1307 USA |
| 24 | */ |
| 25 | |
| 26 | |
| 27 | #ifndef __CONFIG_H |
| 28 | #define __CONFIG_H |
| 29 | |
Andre Schwarz | 5ed546f | 2008-07-02 18:54:08 +0200 | [diff] [blame] | 30 | #include <version.h> |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 31 | |
| 32 | /* |
| 33 | * High Level Configuration Options |
| 34 | */ |
| 35 | #define CONFIG_E300 1 |
Peter Tyser | 0f89860 | 2009-05-22 17:23:24 -0500 | [diff] [blame] | 36 | #define CONFIG_MPC83xx 1 |
Peter Tyser | 2c7920a | 2009-05-22 17:23:25 -0500 | [diff] [blame] | 37 | #define CONFIG_MPC834x 1 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 38 | #define CONFIG_MPC8343 1 |
| 39 | |
Wolfgang Denk | 2ae1824 | 2010-10-06 09:05:45 +0200 | [diff] [blame] | 40 | #define CONFIG_SYS_TEXT_BASE 0xFFF00000 |
| 41 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 42 | #define CONFIG_SYS_IMMR 0xE0000000 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 43 | |
| 44 | #define CONFIG_PCI |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 45 | #define CONFIG_PCI_SKIP_HOST_BRIDGE |
| 46 | #define CONFIG_HARD_I2C |
| 47 | #define CONFIG_TSEC_ENET |
| 48 | #define CONFIG_MPC8XXX_SPI |
| 49 | #define CONFIG_HARD_SPI |
| 50 | #define MVBLM7_MMC_CS 0x04000000 |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 51 | #define CONFIG_MISC_INIT_R |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 52 | |
| 53 | /* I2C */ |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 54 | #define CONFIG_FSL_I2C |
| 55 | #define CONFIG_I2C_MULTI_BUS |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 56 | #define CONFIG_SYS_I2C_OFFSET 0x3000 |
| 57 | #define CONFIG_SYS_I2C2_OFFSET 0x3100 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 58 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 59 | #define CONFIG_SYS_I2C_SPEED 100000 |
| 60 | #define CONFIG_SYS_I2C_SLAVE 0x7F |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 61 | |
| 62 | /* |
| 63 | * DDR Setup |
| 64 | */ |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 65 | #undef CONFIG_SPD_EEPROM |
| 66 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 67 | #define CONFIG_SYS_DDR_BASE 0x00000000 |
| 68 | #define CONFIG_SYS_SDRAM_BASE CONFIG_SYS_DDR_BASE |
| 69 | #define CONFIG_SYS_DDR_SDRAM_BASE CONFIG_SYS_DDR_BASE |
| 70 | #define CONFIG_SYS_83XX_DDR_USES_CS0 1 |
| 71 | #define CONFIG_SYS_MEMTEST_START (60<<20) |
| 72 | #define CONFIG_SYS_MEMTEST_END (70<<20) |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 73 | #define CONFIG_VERY_BIG_RAM |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 74 | |
Joe Hershberger | 2fef402 | 2011-10-11 23:57:29 -0500 | [diff] [blame] | 75 | #define CONFIG_SYS_DDRCDR (DDRCDR_PZ_HIZ \ |
| 76 | | DDRCDR_NZ_HIZ \ |
| 77 | | DDRCDR_Q_DRN) |
| 78 | /* 0x22000001 */ |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 79 | #define CONFIG_SYS_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 80 | |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 81 | #define CONFIG_SYS_DDR_SIZE 512 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 82 | |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 83 | #define CONFIG_SYS_DDR_CS0_CONFIG 0x80014202 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 84 | |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 85 | #define CONFIG_SYS_DDR_CS0_BNDS 0x0000003f |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 86 | |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 87 | #define CONFIG_SYS_DDR_TIMING_0 0x00260802 |
| 88 | #define CONFIG_SYS_DDR_TIMING_1 0x3837c322 |
| 89 | #define CONFIG_SYS_DDR_TIMING_2 0x0f9848c6 |
| 90 | #define CONFIG_SYS_DDR_TIMING_3 0x00000000 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 91 | |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 92 | #define CONFIG_SYS_DDR_SDRAM_CFG 0x43080008 |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 93 | #define CONFIG_SYS_DDR_SDRAM_CFG2 0x00401000 |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 94 | #define CONFIG_SYS_DDR_INTERVAL 0x02000100 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 95 | |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 96 | #define CONFIG_SYS_DDR_MODE 0x04040242 |
| 97 | #define CONFIG_SYS_DDR_MODE2 0x00800000 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 98 | |
| 99 | /* Flash */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 100 | #define CONFIG_SYS_FLASH_CFI |
Jean-Christophe PLAGNIOL-VILLARD | 00b1883 | 2008-08-13 01:40:42 +0200 | [diff] [blame] | 101 | #define CONFIG_FLASH_CFI_DRIVER |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 102 | #define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 103 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 104 | #define CONFIG_SYS_FLASH_BASE 0xFF800000 |
| 105 | #define CONFIG_SYS_FLASH_SIZE 8 |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 106 | #define CONFIG_SYS_FLASH_EMPTY_INFO |
| 107 | #define CONFIG_SYS_FLASH_ERASE_TOUT 60000 |
| 108 | #define CONFIG_SYS_FLASH_WRITE_TOUT 500 |
| 109 | #define CONFIG_SYS_MAX_FLASH_BANKS 1 |
| 110 | #define CONFIG_SYS_MAX_FLASH_SECT 256 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 111 | |
Joe Hershberger | 7d6a098 | 2011-10-11 23:57:30 -0500 | [diff] [blame] | 112 | #define CONFIG_SYS_BR0_PRELIM (CONFIG_SYS_FLASH_BASE \ |
| 113 | | BR_PS_16 \ |
| 114 | | BR_MS_GPCM \ |
| 115 | | BR_V) |
| 116 | #define CONFIG_SYS_OR0_PRELIM (MEG_TO_AM(CONFIG_SYS_FLASH_SIZE) \ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 117 | | OR_UPM_XAM \ |
| 118 | | OR_GPCM_CSNT \ |
| 119 | | OR_GPCM_ACS_DIV2 \ |
| 120 | | OR_GPCM_XACS \ |
| 121 | | OR_GPCM_SCY_15 \ |
Joe Hershberger | 7d6a098 | 2011-10-11 23:57:30 -0500 | [diff] [blame] | 122 | | OR_GPCM_TRLX_SET \ |
| 123 | | OR_GPCM_EHTR_SET \ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 124 | | OR_GPCM_EAD) |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 125 | #define CONFIG_SYS_LBLAWBAR0_PRELIM CONFIG_SYS_FLASH_BASE |
Joe Hershberger | 7d6a098 | 2011-10-11 23:57:30 -0500 | [diff] [blame] | 126 | #define CONFIG_SYS_LBLAWAR0_PRELIM (LBLAWAR_EN | LBLAWAR_8MB) |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 127 | |
| 128 | /* |
| 129 | * U-Boot memory configuration |
| 130 | */ |
Wolfgang Denk | 14d0a02 | 2010-10-07 21:51:12 +0200 | [diff] [blame] | 131 | #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 132 | #undef CONFIG_SYS_RAMBOOT |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 133 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 134 | #define CONFIG_SYS_INIT_RAM_LOCK |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 135 | #define CONFIG_SYS_INIT_RAM_ADDR 0xFD000000 /* Initial RAM address */ |
| 136 | #define CONFIG_SYS_INIT_RAM_SIZE 0x1000 /* Size of used area in RAM*/ |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 137 | |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 138 | #define CONFIG_SYS_GBL_DATA_OFFSET \ |
| 139 | (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 140 | #define CONFIG_SYS_INIT_SP_OFFSET CONFIG_SYS_GBL_DATA_OFFSET |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 141 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 142 | /* CONFIG_SYS_MONITOR_LEN must be a multiple of CONFIG_ENV_SECT_SIZE */ |
| 143 | #define CONFIG_SYS_MONITOR_LEN (512 * 1024) |
| 144 | #define CONFIG_SYS_MALLOC_LEN (512 * 1024) |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 145 | |
| 146 | /* |
| 147 | * Local Bus LCRR and LBCR regs |
| 148 | * LCRR: DLL bypass, Clock divider is 4 |
| 149 | * External Local Bus rate is |
| 150 | * CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV |
| 151 | */ |
Kim Phillips | c7190f0 | 2009-09-25 18:19:44 -0500 | [diff] [blame] | 152 | #define CONFIG_SYS_LCRR_DBYP LCRR_DBYP |
| 153 | #define CONFIG_SYS_LCRR_CLKDIV LCRR_CLKDIV_4 |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 154 | #define CONFIG_SYS_LBC_LBCR 0x00000000 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 155 | |
| 156 | /* LB sdram refresh timer, about 6us */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 157 | #define CONFIG_SYS_LBC_LSRT 0x32000000 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 158 | /* LB refresh timer prescal, 266MHz/32*/ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 159 | #define CONFIG_SYS_LBC_MRTPR 0x20000000 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 160 | |
| 161 | /* |
| 162 | * Serial Port |
| 163 | */ |
| 164 | #define CONFIG_CONS_INDEX 1 |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 165 | #define CONFIG_SYS_NS16550 |
| 166 | #define CONFIG_SYS_NS16550_SERIAL |
| 167 | #define CONFIG_SYS_NS16550_REG_SIZE 1 |
| 168 | #define CONFIG_SYS_NS16550_CLK get_bus_freq(0) |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 169 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 170 | #define CONFIG_SYS_BAUDRATE_TABLE \ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 171 | {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 115200} |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 172 | |
| 173 | #define CONFIG_CONSOLE ttyS0 |
| 174 | #define CONFIG_BAUDRATE 115200 |
| 175 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 176 | #define CONFIG_SYS_NS16550_COM1 (CONFIG_SYS_IMMR + 0x4500) |
| 177 | #define CONFIG_SYS_NS16550_COM2 (CONFIG_SYS_IMMR + 0x4600) |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 178 | |
| 179 | /* pass open firmware flat tree */ |
| 180 | #define CONFIG_OF_LIBFDT 1 |
| 181 | #define CONFIG_OF_BOARD_SETUP 1 |
| 182 | #define CONFIG_OF_STDOUT_VIA_ALIAS 1 |
| 183 | #define MV_DTB_NAME "mvblm7.dtb" |
| 184 | |
| 185 | /* |
| 186 | * PCI |
| 187 | */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 188 | #define CONFIG_SYS_PCI1_MEM_BASE 0x80000000 |
| 189 | #define CONFIG_SYS_PCI1_MEM_PHYS CONFIG_SYS_PCI1_MEM_BASE |
| 190 | #define CONFIG_SYS_PCI1_MEM_SIZE 0x10000000 |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 191 | #define CONFIG_SYS_PCI1_MMIO_BASE \ |
| 192 | (CONFIG_SYS_PCI1_MEM_BASE + CONFIG_SYS_PCI1_MEM_SIZE) |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 193 | #define CONFIG_SYS_PCI1_MMIO_PHYS CONFIG_SYS_PCI1_MMIO_BASE |
| 194 | #define CONFIG_SYS_PCI1_MMIO_SIZE 0x10000000 |
| 195 | #define CONFIG_SYS_PCI1_IO_BASE 0x00000000 |
| 196 | #define CONFIG_SYS_PCI1_IO_PHYS 0xE2000000 |
| 197 | #define CONFIG_SYS_PCI1_IO_SIZE 0x01000000 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 198 | |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 199 | #define CONFIG_NET_RETRY_COUNT 3 |
| 200 | |
Wolfgang Denk | 2ae1824 | 2010-10-06 09:05:45 +0200 | [diff] [blame] | 201 | #define CONFIG_PCI_66M |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 202 | #define CONFIG_83XX_CLKIN 66666667 |
| 203 | #define CONFIG_PCI_PNP |
| 204 | #define CONFIG_PCI_SCAN_SHOW |
| 205 | |
| 206 | /* TSEC */ |
| 207 | #define CONFIG_GMII |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 208 | #define CONFIG_SYS_VSC8601_SKEWFIX |
| 209 | #define CONFIG_SYS_VSC8601_SKEW_TX 3 |
| 210 | #define CONFIG_SYS_VSC8601_SKEW_RX 3 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 211 | |
| 212 | #define CONFIG_TSEC1 |
| 213 | #define CONFIG_TSEC2 |
| 214 | |
| 215 | #define CONFIG_HAS_ETH0 |
| 216 | #define CONFIG_TSEC1_NAME "TSEC0" |
| 217 | #define CONFIG_FEC1_PHY_NORXERR |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 218 | #define CONFIG_SYS_TSEC1_OFFSET 0x24000 |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 219 | #define CONFIG_SYS_TSEC1 (CONFIG_SYS_IMMR+CONFIG_SYS_TSEC1_OFFSET) |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 220 | #define TSEC1_PHY_ADDR 0x10 |
| 221 | #define TSEC1_PHYIDX 0 |
| 222 | #define TSEC1_FLAGS (TSEC_GIGABIT|TSEC_REDUCED) |
| 223 | |
| 224 | #define CONFIG_HAS_ETH1 |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 225 | #define CONFIG_TSEC2_NAME "TSEC1" |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 226 | #define CONFIG_FEC2_PHY_NORXERR |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 227 | #define CONFIG_SYS_TSEC2_OFFSET 0x25000 |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 228 | #define CONFIG_SYS_TSEC2 (CONFIG_SYS_IMMR+CONFIG_SYS_TSEC2_OFFSET) |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 229 | #define TSEC2_PHY_ADDR 0x11 |
| 230 | #define TSEC2_PHYIDX 0 |
| 231 | #define TSEC2_FLAGS (TSEC_GIGABIT|TSEC_REDUCED) |
| 232 | |
| 233 | #define CONFIG_ETHPRIME "TSEC0" |
| 234 | |
| 235 | #define CONFIG_BOOTP_VENDOREX |
| 236 | #define CONFIG_BOOTP_SUBNETMASK |
| 237 | #define CONFIG_BOOTP_GATEWAY |
| 238 | #define CONFIG_BOOTP_DNS |
| 239 | #define CONFIG_BOOTP_DNS2 |
| 240 | #define CONFIG_BOOTP_HOSTNAME |
| 241 | #define CONFIG_BOOTP_BOOTFILESIZE |
| 242 | #define CONFIG_BOOTP_BOOTPATH |
| 243 | #define CONFIG_BOOTP_NTPSERVER |
| 244 | #define CONFIG_BOOTP_RANDOM_DELAY |
| 245 | #define CONFIG_BOOTP_SEND_HOSTNAME |
| 246 | |
| 247 | /* USB */ |
Andre Schwarz | fd194f8 | 2010-05-03 13:22:31 +0200 | [diff] [blame] | 248 | #define CONFIG_SYS_USB_HOST |
| 249 | #define CONFIG_USB_EHCI |
| 250 | #define CONFIG_USB_EHCI_FSL |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 251 | #define CONFIG_HAS_FSL_DR_USB |
Andre Schwarz | fd194f8 | 2010-05-03 13:22:31 +0200 | [diff] [blame] | 252 | #define CONFIG_EHCI_HCD_INIT_AFTER_RESET |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 253 | |
| 254 | /* |
| 255 | * Environment |
| 256 | */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 257 | #undef CONFIG_SYS_FLASH_PROTECTION |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 258 | #define CONFIG_ENV_OVERWRITE |
| 259 | |
Jean-Christophe PLAGNIOL-VILLARD | 5a1aceb | 2008-09-10 22:48:04 +0200 | [diff] [blame] | 260 | #define CONFIG_ENV_IS_IN_FLASH 1 |
Jean-Christophe PLAGNIOL-VILLARD | 0e8d158 | 2008-09-10 22:48:06 +0200 | [diff] [blame] | 261 | #define CONFIG_ENV_ADDR 0xFF800000 |
| 262 | #define CONFIG_ENV_SIZE 0x2000 |
| 263 | #define CONFIG_ENV_SECT_SIZE 0x2000 |
| 264 | #define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR+CONFIG_ENV_SIZE) |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 265 | #define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 266 | |
Wolfgang Denk | e093a24 | 2008-06-28 23:34:37 +0200 | [diff] [blame] | 267 | #define CONFIG_LOADS_ECHO |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 268 | #define CONFIG_SYS_LOADS_BAUD_CHANGE |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 269 | |
| 270 | /* |
| 271 | * Command line configuration. |
| 272 | */ |
| 273 | #include <config_cmd_default.h> |
| 274 | |
| 275 | #define CONFIG_CMD_CACHE |
| 276 | #define CONFIG_CMD_IRQ |
| 277 | #define CONFIG_CMD_NET |
| 278 | #define CONFIG_CMD_MII |
| 279 | #define CONFIG_CMD_PING |
| 280 | #define CONFIG_CMD_DHCP |
| 281 | #define CONFIG_CMD_SDRAM |
| 282 | #define CONFIG_CMD_PCI |
| 283 | #define CONFIG_CMD_I2C |
| 284 | #define CONFIG_CMD_FPGA |
Andre Schwarz | fd194f8 | 2010-05-03 13:22:31 +0200 | [diff] [blame] | 285 | #define CONFIG_CMD_USB |
| 286 | #define CONFIG_DOS_PARTITION |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 287 | |
| 288 | #undef CONFIG_WATCHDOG |
| 289 | |
| 290 | /* |
| 291 | * Miscellaneous configurable options |
| 292 | */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 293 | #define CONFIG_SYS_LONGHELP |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 294 | #define CONFIG_CMDLINE_EDITING |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 295 | #define CONFIG_AUTO_COMPLETE /* add autocompletion support */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 296 | #define CONFIG_SYS_HUSH_PARSER |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 297 | |
| 298 | /* default load address */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 299 | #define CONFIG_SYS_LOAD_ADDR 0x2000000 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 300 | /* default location for tftp and bootm */ |
| 301 | #define CONFIG_LOADADDR 0x200000 |
| 302 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 303 | #define CONFIG_SYS_PROMPT "mvBL-M7> " |
| 304 | #define CONFIG_SYS_CBSIZE 256 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 305 | |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 306 | #define CONFIG_SYS_PBSIZE \ |
| 307 | (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 308 | #define CONFIG_SYS_MAXARGS 16 |
| 309 | #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE |
| 310 | #define CONFIG_SYS_HZ 1000 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 311 | |
| 312 | /* |
| 313 | * For booting Linux, the board info and command line data |
Ira W. Snyder | 9f530d5 | 2010-09-10 15:42:32 -0700 | [diff] [blame] | 314 | * have to be in the first 256 MB of memory, since this is |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 315 | * the maximum mapped by the Linux kernel during initialization. |
| 316 | */ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 317 | /* Initial Memory map for Linux*/ |
| 318 | #define CONFIG_SYS_BOOTMAPSZ (256 << 20) |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 319 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 320 | #define CONFIG_SYS_HRCW_LOW 0x0 |
| 321 | #define CONFIG_SYS_HRCW_HIGH 0x0 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 322 | |
| 323 | /* |
| 324 | * System performance |
| 325 | */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 326 | #define CONFIG_SYS_ACR_PIPE_DEP 3 /* Arbiter pipeline depth (0-3) */ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 327 | #define CONFIG_SYS_ACR_RPTCNT 3 /* Arbiter repeat count (0-7) */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 328 | #define CONFIG_SYS_SPCR_TSEC1EP 3 /* TSEC1 emergency priority (0-3) */ |
| 329 | #define CONFIG_SYS_SPCR_TSEC2EP 3 /* TSEC2 emergency priority (0-3) */ |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 330 | |
| 331 | /* clocking */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 332 | #define CONFIG_SYS_SCCR_ENCCM 0 |
| 333 | #define CONFIG_SYS_SCCR_USBMPHCM 0 |
| 334 | #define CONFIG_SYS_SCCR_USBDRCM 2 |
| 335 | #define CONFIG_SYS_SCCR_TSEC1CM 1 |
| 336 | #define CONFIG_SYS_SCCR_TSEC2CM 1 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 337 | |
Andre Schwarz | 116ef54 | 2010-10-22 11:21:46 +0200 | [diff] [blame] | 338 | #define CONFIG_SYS_SICRH 0x1fef0003 |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 339 | #define CONFIG_SYS_SICRL (SICRL_LDP_A | SICRL_USB1 | SICRL_USB0) |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 340 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 341 | #define CONFIG_SYS_HID0_INIT 0x000000000 |
Kim Phillips | 1a2e203 | 2010-04-20 19:37:54 -0500 | [diff] [blame] | 342 | #define CONFIG_SYS_HID0_FINAL (CONFIG_SYS_HID0_INIT | \ |
| 343 | HID0_ENABLE_INSTRUCTION_CACHE) |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 344 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 345 | #define CONFIG_SYS_HID2 HID2_HBE |
Andre Schwarz | 5ed546f | 2008-07-02 18:54:08 +0200 | [diff] [blame] | 346 | #define CONFIG_HIGH_BATS 1 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 347 | |
| 348 | /* DDR */ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 349 | #define CONFIG_SYS_IBAT0L (CONFIG_SYS_SDRAM_BASE \ |
Joe Hershberger | 72cd408 | 2011-10-11 23:57:28 -0500 | [diff] [blame] | 350 | | BATL_PP_RW \ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 351 | | BATL_MEMCOHERENCE) |
| 352 | #define CONFIG_SYS_IBAT0U (CONFIG_SYS_SDRAM_BASE \ |
| 353 | | BATU_BL_256M \ |
| 354 | | BATU_VS \ |
| 355 | | BATU_VP) |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 356 | |
| 357 | /* PCI */ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 358 | #define CONFIG_SYS_IBAT1L (CONFIG_SYS_PCI1_MEM_BASE \ |
Joe Hershberger | 72cd408 | 2011-10-11 23:57:28 -0500 | [diff] [blame] | 359 | | BATL_PP_RW \ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 360 | | BATL_MEMCOHERENCE) |
| 361 | #define CONFIG_SYS_IBAT1U (CONFIG_SYS_PCI1_MEM_BASE \ |
| 362 | | BATU_BL_256M \ |
| 363 | | BATU_VS \ |
| 364 | | BATU_VP) |
| 365 | #define CONFIG_SYS_IBAT2L (CONFIG_SYS_PCI1_MMIO_BASE \ |
Joe Hershberger | 72cd408 | 2011-10-11 23:57:28 -0500 | [diff] [blame] | 366 | | BATL_PP_RW \ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 367 | | BATL_CACHEINHIBIT \ |
| 368 | | BATL_GUARDEDSTORAGE) |
| 369 | #define CONFIG_SYS_IBAT2U (CONFIG_SYS_PCI1_MMIO_BASE \ |
| 370 | | BATU_BL_256M \ |
| 371 | | BATU_VS \ |
| 372 | | BATU_VP) |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 373 | |
| 374 | /* no PCI2 */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 375 | #define CONFIG_SYS_IBAT3L 0 |
| 376 | #define CONFIG_SYS_IBAT3U 0 |
| 377 | #define CONFIG_SYS_IBAT4L 0 |
| 378 | #define CONFIG_SYS_IBAT4U 0 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 379 | |
| 380 | /* IMMRBAR @ 0xE0000000, PCI IO @ 0xE2000000 & BCSR @ 0xE2400000 */ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 381 | #define CONFIG_SYS_IBAT5L (CONFIG_SYS_IMMR \ |
Joe Hershberger | 72cd408 | 2011-10-11 23:57:28 -0500 | [diff] [blame] | 382 | | BATL_PP_RW \ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 383 | | BATL_CACHEINHIBIT \ |
| 384 | | BATL_GUARDEDSTORAGE) |
| 385 | #define CONFIG_SYS_IBAT5U (CONFIG_SYS_IMMR \ |
| 386 | | BATU_BL_256M \ |
| 387 | | BATU_VS \ |
| 388 | | BATU_VP) |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 389 | |
| 390 | /* stack in DCACHE 0xFDF00000 & FLASH @ 0xFF800000 */ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 391 | #define CONFIG_SYS_IBAT6L (0xF0000000 \ |
Joe Hershberger | 72cd408 | 2011-10-11 23:57:28 -0500 | [diff] [blame] | 392 | | BATL_PP_RW \ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 393 | | BATL_MEMCOHERENCE \ |
Joe Hershberger | 72cd408 | 2011-10-11 23:57:28 -0500 | [diff] [blame] | 394 | | BATL_GUARDEDSTORAGE) |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 395 | #define CONFIG_SYS_IBAT6U (0xF0000000 \ |
| 396 | | BATU_BL_256M \ |
| 397 | | BATU_VS \ |
| 398 | | BATU_VP) |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 399 | #define CONFIG_SYS_IBAT7L 0 |
| 400 | #define CONFIG_SYS_IBAT7U 0 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 401 | |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 402 | #define CONFIG_SYS_DBAT0L CONFIG_SYS_IBAT0L |
| 403 | #define CONFIG_SYS_DBAT0U CONFIG_SYS_IBAT0U |
| 404 | #define CONFIG_SYS_DBAT1L CONFIG_SYS_IBAT1L |
| 405 | #define CONFIG_SYS_DBAT1U CONFIG_SYS_IBAT1U |
| 406 | #define CONFIG_SYS_DBAT2L CONFIG_SYS_IBAT2L |
| 407 | #define CONFIG_SYS_DBAT2U CONFIG_SYS_IBAT2U |
| 408 | #define CONFIG_SYS_DBAT3L CONFIG_SYS_IBAT3L |
| 409 | #define CONFIG_SYS_DBAT3U CONFIG_SYS_IBAT3U |
| 410 | #define CONFIG_SYS_DBAT4L CONFIG_SYS_IBAT4L |
| 411 | #define CONFIG_SYS_DBAT4U CONFIG_SYS_IBAT4U |
| 412 | #define CONFIG_SYS_DBAT5L CONFIG_SYS_IBAT5L |
| 413 | #define CONFIG_SYS_DBAT5U CONFIG_SYS_IBAT5U |
| 414 | #define CONFIG_SYS_DBAT6L CONFIG_SYS_IBAT6L |
| 415 | #define CONFIG_SYS_DBAT6U CONFIG_SYS_IBAT6U |
| 416 | #define CONFIG_SYS_DBAT7L CONFIG_SYS_IBAT7L |
| 417 | #define CONFIG_SYS_DBAT7U CONFIG_SYS_IBAT7U |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 418 | |
| 419 | /* |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 420 | * Environment Configuration |
| 421 | */ |
| 422 | #define CONFIG_ENV_OVERWRITE |
| 423 | |
| 424 | #define CONFIG_NETDEV eth0 |
| 425 | |
| 426 | /* Default path and filenames */ |
| 427 | #define CONFIG_BOOTDELAY 5 |
| 428 | #define CONFIG_AUTOBOOT_KEYED |
| 429 | #define CONFIG_AUTOBOOT_STOP_STR "s" |
| 430 | #define CONFIG_ZERO_BOOTDELAY_CHECK |
| 431 | #define CONFIG_RESET_TO_RETRY 1000 |
| 432 | |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 433 | #define MV_CI "mvBL-M7" |
| 434 | #define MV_VCI "mvBL-M7" |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 435 | #define MV_FPGA_DATA 0xfff40000 |
| 436 | #define MV_FPGA_SIZE 0 |
Andre Schwarz | 1a9eeb7 | 2008-08-20 11:11:52 +0200 | [diff] [blame] | 437 | #define MV_KERNEL_ADDR 0xff810000 |
| 438 | #define MV_INITRD_ADDR 0xffb00000 |
Peter Tyser | 3202d33 | 2009-09-16 21:38:10 -0500 | [diff] [blame] | 439 | #define MV_SCRIPT_ADDR 0xff804000 |
| 440 | #define MV_SCRIPT_ADDR2 0xff806000 |
Andre Schwarz | 1a9eeb7 | 2008-08-20 11:11:52 +0200 | [diff] [blame] | 441 | #define MV_DTB_ADDR 0xff808000 |
| 442 | #define MV_INITRD_LENGTH 0x00400000 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 443 | |
| 444 | #define CONFIG_SHOW_BOOT_PROGRESS 1 |
| 445 | |
Andre Schwarz | 1a9eeb7 | 2008-08-20 11:11:52 +0200 | [diff] [blame] | 446 | #define MV_KERNEL_ADDR_RAM 0x00100000 |
| 447 | #define MV_DTB_ADDR_RAM 0x00600000 |
| 448 | #define MV_INITRD_ADDR_RAM 0x01000000 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 449 | |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 450 | #define CONFIG_BOOTCOMMAND "if imi ${script_addr}; " \ |
| 451 | "then source ${script_addr}; " \ |
| 452 | "else source ${script_addr2}; " \ |
| 453 | "fi;" |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 454 | #define CONFIG_BOOTARGS "root=/dev/ram ro rootfstype=squashfs" |
| 455 | |
| 456 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 457 | "console_nr=0\0" \ |
Marek Vasut | 5368c55 | 2012-09-23 17:41:24 +0200 | [diff] [blame] | 458 | "baudrate=" __stringify(CONFIG_BAUDRATE) "\0" \ |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 459 | "stdin=serial\0" \ |
| 460 | "stdout=serial\0" \ |
| 461 | "stderr=serial\0" \ |
| 462 | "fpga=0\0" \ |
Marek Vasut | 5368c55 | 2012-09-23 17:41:24 +0200 | [diff] [blame] | 463 | "fpgadata=" __stringify(MV_FPGA_DATA) "\0" \ |
| 464 | "fpgadatasize=" __stringify(MV_FPGA_SIZE) "\0" \ |
| 465 | "script_addr=" __stringify(MV_SCRIPT_ADDR) "\0" \ |
| 466 | "script_addr2=" __stringify(MV_SCRIPT_ADDR2) "\0" \ |
| 467 | "mv_kernel_addr=" __stringify(MV_KERNEL_ADDR) "\0" \ |
| 468 | "mv_kernel_addr_ram=" __stringify(MV_KERNEL_ADDR_RAM) "\0" \ |
| 469 | "mv_initrd_addr=" __stringify(MV_INITRD_ADDR) "\0" \ |
| 470 | "mv_initrd_addr_ram=" __stringify(MV_INITRD_ADDR_RAM) "\0" \ |
| 471 | "mv_initrd_length=" __stringify(MV_INITRD_LENGTH) "\0" \ |
| 472 | "mv_dtb_addr=" __stringify(MV_DTB_ADDR) "\0" \ |
| 473 | "mv_dtb_addr_ram=" __stringify(MV_DTB_ADDR_RAM) "\0" \ |
| 474 | "dtb_name=" __stringify(MV_DTB_NAME) "\0" \ |
Andre Schwarz | 5ed546f | 2008-07-02 18:54:08 +0200 | [diff] [blame] | 475 | "mv_version=" U_BOOT_VERSION "\0" \ |
Joe Hershberger | b2773a5 | 2011-10-11 23:57:20 -0500 | [diff] [blame] | 476 | "dhcp_client_id=" MV_CI "\0" \ |
| 477 | "dhcp_vendor-class-identifier=" MV_VCI "\0" \ |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 478 | "netretry=no\0" \ |
| 479 | "use_static_ipaddr=no\0" \ |
| 480 | "static_ipaddr=192.168.90.10\0" \ |
| 481 | "static_netmask=255.255.255.0\0" \ |
| 482 | "static_gateway=0.0.0.0\0" \ |
André Schwarz | 28887d8 | 2009-08-27 14:48:35 +0200 | [diff] [blame] | 483 | "initrd_name=uInitrd.mvBL-M7-rfs\0" \ |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 484 | "zcip=no\0" \ |
| 485 | "netboot=yes\0" \ |
| 486 | "mvtest=Ff\0" \ |
| 487 | "tried_bootfromflash=no\0" \ |
| 488 | "tried_bootfromnet=no\0" \ |
| 489 | "bootfile=mvblm72625.boot\0" \ |
| 490 | "use_dhcp=yes\0" \ |
| 491 | "gev_start=yes\0" \ |
| 492 | "mvbcdma_debug=0\0" \ |
| 493 | "mvbcia_debug=0\0" \ |
| 494 | "propdev_debug=0\0" \ |
| 495 | "gevss_debug=0\0" \ |
| 496 | "watchdog=0\0" \ |
| 497 | "usb_dr_mode=host\0" \ |
Andre Schwarz | 1a9eeb7 | 2008-08-20 11:11:52 +0200 | [diff] [blame] | 498 | "sensor_cnt=2\0" \ |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 499 | "" |
| 500 | |
| 501 | #define CONFIG_FPGA_COUNT 1 |
Jean-Christophe PLAGNIOL-VILLARD | 6d0f6bc | 2008-10-16 15:01:15 +0200 | [diff] [blame] | 502 | #define CONFIG_FPGA CONFIG_SYS_ALTERA_CYCLON2 |
Andre Schwarz | c005b93 | 2008-06-10 09:13:16 +0200 | [diff] [blame] | 503 | #define CONFIG_FPGA_ALTERA |
| 504 | #define CONFIG_FPGA_CYCLON2 |
| 505 | |
| 506 | #endif |