Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 1 | /* |
Eric Bénard | 62d2b62 | 2010-08-09 11:50:45 +0200 | [diff] [blame] | 2 | * CPUAT91 by (C) Copyright 2006-2010 Eric Benard |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 3 | * eric@eukrea.com |
| 4 | * |
| 5 | * Configuration settings for the CPUAT91 board. |
| 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 | |
Eric Bénard | 62d2b62 | 2010-08-09 11:50:45 +0200 | [diff] [blame] | 26 | #ifndef _CONFIG_CPUAT91_H |
| 27 | #define _CONFIG_CPUAT91_H |
Jens Scharsig | 128ecd0 | 2010-02-03 22:45:42 +0100 | [diff] [blame] | 28 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 29 | #include <asm/sizes.h> |
| 30 | |
| 31 | #ifdef CONFIG_RAMBOOT |
| 32 | #define CONFIG_SKIP_LOWLEVEL_INIT |
| 33 | #define CONFIG_SYS_TEXT_BASE 0x21F00000 |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 34 | #else |
| 35 | #define CONFIG_BOOTDELAY 1 |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 36 | #define CONFIG_SYS_TEXT_BASE 0 |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 37 | #endif |
| 38 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 39 | #define AT91C_XTAL_CLOCK 18432000 |
| 40 | #define AT91C_MAIN_CLOCK ((AT91C_XTAL_CLOCK / 4) * 39) |
| 41 | #define AT91C_MASTER_CLOCK (AT91C_MAIN_CLOCK / 3) |
| 42 | #define CONFIG_SYS_HZ_CLOCK (AT91C_MASTER_CLOCK / 2) |
| 43 | #define CONFIG_SYS_HZ 1000 |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 44 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 45 | #define CONFIG_ARM920T |
| 46 | #define CONFIG_AT91RM9200 |
| 47 | #define CONFIG_CPUAT91 |
| 48 | #define CONFIG_AT91FAMILY |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 49 | |
| 50 | #undef CONFIG_USE_IRQ |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 51 | #define USE_920T_MMU |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 52 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 53 | #define CONFIG_CMDLINE_TAG |
| 54 | #define CONFIG_SETUP_MEMORY_TAGS |
| 55 | #define CONFIG_INITRD_TAG |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 56 | |
| 57 | #ifndef CONFIG_SKIP_LOWLEVEL_INIT |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 58 | #define CONFIG_SYS_USE_MAIN_OSCILLATOR |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 59 | /* flash */ |
| 60 | #define CONFIG_SYS_MC_PUIA_VAL 0x00000000 |
| 61 | #define CONFIG_SYS_MC_PUP_VAL 0x00000000 |
| 62 | #define CONFIG_SYS_MC_PUER_VAL 0x00000000 |
| 63 | #define CONFIG_SYS_MC_ASR_VAL 0x00000000 |
| 64 | #define CONFIG_SYS_MC_AASR_VAL 0x00000000 |
| 65 | #define CONFIG_SYS_EBI_CFGR_VAL 0x00000000 |
| 66 | #define CONFIG_SYS_SMC_CSR0_VAL 0x00003284 /* 16bit, 2 TDF, 4 WS */ |
| 67 | |
| 68 | /* clocks */ |
| 69 | #define CONFIG_SYS_PLLAR_VAL 0x20263E04 /* 179.712000 MHz for PCK */ |
| 70 | #define CONFIG_SYS_PLLBR_VAL 0x10483E0E /* 48.054857 MHz for USB */ |
| 71 | #define CONFIG_SYS_MCKR_VAL 0x00000202 /* PCK/3 = MCK Master Clock */ |
| 72 | |
| 73 | /* sdram */ |
| 74 | #define CONFIG_SYS_PIOC_ASR_VAL 0xFFFF0000 /* Configure PIOC as D16/D31 */ |
| 75 | #define CONFIG_SYS_PIOC_BSR_VAL 0x00000000 |
| 76 | #define CONFIG_SYS_PIOC_PDR_VAL 0xFFFF0000 |
| 77 | #define CONFIG_SYS_EBI_CSA_VAL 0x00000002 /* CS1=SDRAM */ |
| 78 | #define CONFIG_SYS_SDRC_CR_VAL 0x2188C155 /* set up the SDRAM */ |
| 79 | #define CONFIG_SYS_SDRAM 0x20000000 /* address of the SDRAM */ |
| 80 | #define CONFIG_SYS_SDRAM1 0x20000080 /* address of the SDRAM */ |
| 81 | #define CONFIG_SYS_SDRAM_VAL 0x00000000 /* value written to SDRAM */ |
| 82 | #define CONFIG_SYS_SDRC_MR_VAL 0x00000002 /* Precharge All */ |
| 83 | #define CONFIG_SYS_SDRC_MR_VAL1 0x00000004 /* refresh */ |
| 84 | #define CONFIG_SYS_SDRC_MR_VAL2 0x00000003 /* Load Mode Register */ |
| 85 | #define CONFIG_SYS_SDRC_MR_VAL3 0x00000000 /* Normal Mode */ |
| 86 | #define CONFIG_SYS_SDRC_TR_VAL 0x000002E0 /* Write refresh rate */ |
| 87 | #endif /* CONFIG_SKIP_LOWLEVEL_INIT */ |
| 88 | |
| 89 | /* define one of these to choose the DBGU, USART0 or USART1 as console */ |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 90 | #define CONFIG_AT91RM9200_USART |
| 91 | #define CONFIG_DBGU |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 92 | |
Eric Bénard | 62d2b62 | 2010-08-09 11:50:45 +0200 | [diff] [blame] | 93 | #undef CONFIG_HARD_I2C |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 94 | #undef CONFIG_SOFT_I2C |
Eric Bénard | 62d2b62 | 2010-08-09 11:50:45 +0200 | [diff] [blame] | 95 | #define AT91_PIN_SDA (1<<25) |
| 96 | #define AT91_PIN_SCL (1<<26) |
| 97 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 98 | #define CONFIG_SYS_I2C_INIT_BOARD |
Eric Bénard | 62d2b62 | 2010-08-09 11:50:45 +0200 | [diff] [blame] | 99 | #define CONFIG_SYS_I2C_SPEED 50000 |
| 100 | #define CONFIG_SYS_I2C_SLAVE 0 |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 101 | |
Eric Bénard | 62d2b62 | 2010-08-09 11:50:45 +0200 | [diff] [blame] | 102 | #define I2C_INIT i2c_init_board(); |
| 103 | #define I2C_ACTIVE writel(AT91_PMX_AA_TWD, &pio->pioa.mddr); |
| 104 | #define I2C_TRISTATE writel(AT91_PMX_AA_TWD, &pio->pioa.mder); |
| 105 | #define I2C_READ ((readl(&pio->pioa.pdsr) & AT91_PMX_AA_TWD) != 0) |
| 106 | #define I2C_SDA(bit) \ |
| 107 | if (bit) \ |
| 108 | writel(AT91_PMX_AA_TWD, &pio->pioa.sodr); \ |
| 109 | else \ |
| 110 | writel(AT91_PMX_AA_TWD, &pio->pioa.codr); |
| 111 | #define I2C_SCL(bit) \ |
| 112 | if (bit) \ |
| 113 | writel(AT91_PMX_AA_TWCK, &pio->pioa.sodr); \ |
| 114 | else \ |
| 115 | writel(AT91_PMX_AA_TWCK, &pio->pioa.codr); |
| 116 | |
| 117 | #define I2C_DELAY udelay(2500000/CONFIG_SYS_I2C_SPEED) |
| 118 | |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 119 | #define CONFIG_SYS_I2C_EEPROM_ADDR 0x54 |
| 120 | #define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 1 |
| 121 | #define CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW 1 |
| 122 | #define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 10 |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 123 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 124 | #define CONFIG_BOOTP_BOOTFILESIZE |
| 125 | #define CONFIG_BOOTP_BOOTPATH |
| 126 | #define CONFIG_BOOTP_GATEWAY |
| 127 | #define CONFIG_BOOTP_HOSTNAME |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 128 | |
| 129 | #include <config_cmd_default.h> |
| 130 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 131 | #define CONFIG_CMD_PING |
| 132 | #define CONFIG_CMD_MII |
| 133 | #define CONFIG_CMD_CACHE |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 134 | #undef CONFIG_CMD_USB |
| 135 | #undef CONFIG_CMD_FPGA |
| 136 | #undef CONFIG_CMD_IMI |
| 137 | #undef CONFIG_CMD_LOADS |
| 138 | #undef CONFIG_CMD_NFS |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 139 | #undef CONFIG_CMD_DHCP |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 140 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 141 | #ifdef CONFIG_SOFT_I2C |
| 142 | #define CONFIG_CMD_EEPROM |
| 143 | #define CONFIG_CMD_I2C |
| 144 | #endif |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 145 | |
| 146 | #define CONFIG_NR_DRAM_BANKS 1 |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 147 | #define CONFIG_SYS_SDRAM_BASE 0x20000000 |
| 148 | #define CONFIG_SYS_SDRAM_SIZE (32 * 1024 * 1024) |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 149 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 150 | #define CONFIG_SYS_MEMTEST_START CONFIG_SYS_SDRAM_BASE |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 151 | #define CONFIG_SYS_MEMTEST_END \ |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 152 | (CONFIG_SYS_MEMTEST_START + CONFIG_SYS_SDRAM_SIZE - 512 * 1024) |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 153 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 154 | #define CONFIG_NET_MULTI |
| 155 | #define CONFIG_DRIVER_AT91EMAC |
| 156 | #define CONFIG_SYS_RX_ETH_BUFFER 16 |
| 157 | #define CONFIG_RMII |
| 158 | #define CONFIG_MII |
Eric Bénard | 58633c1 | 2010-06-21 09:40:43 +0200 | [diff] [blame] | 159 | #define CONFIG_DRIVER_AT91EMAC_PHYADDR 1 |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 160 | #define CONFIG_NET_RETRY_COUNT 20 |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 161 | #define CONFIG_KS8721_PHY |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 162 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 163 | #define CONFIG_SYS_FLASH_CFI |
| 164 | #define CONFIG_FLASH_CFI_DRIVER |
| 165 | #define CONFIG_SYS_FLASH_EMPTY_INFO |
| 166 | #define CONFIG_SYS_FLASH_USE_BUFFER_WRITE |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 167 | #define CONFIG_SYS_MAX_FLASH_BANKS 1 |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 168 | #define CONFIG_SYS_FLASH_PROTECTION |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 169 | #define PHYS_FLASH_1 0x10000000 |
| 170 | #define CONFIG_SYS_FLASH_BASE PHYS_FLASH_1 |
| 171 | #define CONFIG_SYS_MAX_FLASH_SECT 128 |
Eric Bénard | 62d2b62 | 2010-08-09 11:50:45 +0200 | [diff] [blame] | 172 | #define CONFIG_SYS_FLASH_CFI_WIDTH FLASH_CFI_16BIT |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 173 | #define CONFIG_SYS_MONITOR_BASE PHYS_FLASH_1 |
| 174 | #define PHYS_FLASH_SIZE (16 * 1024 * 1024) |
| 175 | #define CONFIG_SYS_FLASH_BANKS_LIST \ |
| 176 | { PHYS_FLASH_1 } |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 177 | |
| 178 | #if defined(CONFIG_CMD_USB) |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 179 | #define CONFIG_USB_ATMEL |
| 180 | #define CONFIG_USB_OHCI_NEW |
| 181 | #define CONFIG_USB_STORAGE |
| 182 | #define CONFIG_DOS_PARTITION |
| 183 | #define CONFIG_AT91C_PQFP_UHPBU |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 184 | #undef CONFIG_SYS_USB_OHCI_BOARD_INIT |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 185 | #define CONFIG_SYS_USB_OHCI_CPU_INIT |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 186 | #define CONFIG_SYS_USB_OHCI_REGS_BASE AT91_USB_HOST_BASE |
| 187 | #define CONFIG_SYS_USB_OHCI_SLOT_NAME "at91rm9200" |
| 188 | #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 15 |
| 189 | #endif |
| 190 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 191 | #define CONFIG_ENV_IS_IN_FLASH |
| 192 | #define CONFIG_ENV_ADDR (PHYS_FLASH_1 + 128 * 1024) |
| 193 | #define CONFIG_ENV_SIZE (128 * 1024) |
| 194 | #define CONFIG_ENV_SECT_SIZE (128 * 1024) |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 195 | |
| 196 | #define CONFIG_SYS_LOAD_ADDR 0x21000000 |
| 197 | |
| 198 | #define CONFIG_BAUDRATE 115200 |
| 199 | #define CONFIG_SYS_BAUDRATE_TABLE { 115200, 57600, 38400, 19200, 9600 } |
| 200 | |
| 201 | #define CONFIG_SYS_PROMPT "CPUAT91=> " |
| 202 | #define CONFIG_SYS_CBSIZE 256 |
| 203 | #define CONFIG_SYS_MAXARGS 32 |
| 204 | #define CONFIG_SYS_PBSIZE \ |
| 205 | (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16) |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 206 | #define CONFIG_CMDLINE_EDITING |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 207 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 208 | #define CONFIG_SYS_MALLOC_LEN \ |
| 209 | ROUND(3 * CONFIG_ENV_SIZE + 128 * 1024, 4 * 1024) |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 210 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 211 | #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_SDRAM_BASE + 4 * 1024 - \ |
| 212 | GENERATED_GBL_DATA_SIZE) |
| 213 | |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 214 | #define CONFIG_STACKSIZE (32 * 1024) |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 215 | #define CONFIG_STACKSIZE_IRQ (4 * 1024) |
| 216 | #define CONFIG_STACKSIZE_FIQ (4 * 1024) |
| 217 | |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 218 | |
| 219 | #if defined(CONFIG_USE_IRQ) |
| 220 | #error CONFIG_USE_IRQ not supported |
| 221 | #endif |
| 222 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 223 | #define CONFIG_DEVICE_NULLDEV |
| 224 | #define CONFIG_SILENT_CONSOLE |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 225 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 226 | #define CONFIG_AUTOBOOT_KEYED |
Eric Benard | 1479026 | 2009-10-12 10:15:39 +0200 | [diff] [blame] | 227 | #define CONFIG_AUTOBOOT_PROMPT \ |
| 228 | "Press SPACE to abort autoboot\n" |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 229 | #define CONFIG_AUTOBOOT_STOP_STR " " |
| 230 | #define CONFIG_AUTOBOOT_DELAY_STR "d" |
| 231 | |
Eric Benard | c2e1f23 | 2011-04-03 06:35:55 +0000 | [diff] [blame] | 232 | #define CONFIG_VERSION_VARIABLE |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 233 | |
| 234 | #define MTDIDS_DEFAULT "nor0=physmap-flash.0" |
| 235 | #define MTDPARTS_DEFAULT \ |
| 236 | "mtdparts=physmap-flash.0:" \ |
| 237 | "128k(u-boot)ro," \ |
| 238 | "128k(u-boot-env)," \ |
Eric Bénard | 56a5fb0 | 2010-08-09 11:50:46 +0200 | [diff] [blame] | 239 | "1792k(kernel)," \ |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 240 | "-(rootfs)" |
| 241 | |
| 242 | #define CONFIG_BOOTARGS \ |
| 243 | "root=/dev/mtdblock3 rootfstype=jffs2 console=ttyS0,115200" |
| 244 | |
| 245 | #define CONFIG_BOOTCOMMAND "run flashboot" |
| 246 | |
| 247 | #define CONFIG_EXTRA_ENV_SETTINGS \ |
| 248 | "mtdid=" MTDIDS_DEFAULT "\0" \ |
| 249 | "mtdparts=" MTDPARTS_DEFAULT "\0" \ |
| 250 | "flub=tftp 21000000 cpuat91/u-boot.bin; protect off 10000000 " \ |
| 251 | "1001FFFF; erase 10000000 1001FFFF; cp.b 21000000 " \ |
| 252 | "10000000 ${filesize}\0" \ |
| 253 | "flui=tftp 21000000 cpuat91/uImage; protect off 10040000 " \ |
Eric Bénard | 56a5fb0 | 2010-08-09 11:50:46 +0200 | [diff] [blame] | 254 | "1019ffff; erase 10040000 101fffff; cp.b 21000000 " \ |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 255 | "10040000 ${filesize}\0" \ |
| 256 | "flrfs=tftp 21000000 cpuat91/rootfs.jffs2; protect off " \ |
Eric Bénard | 56a5fb0 | 2010-08-09 11:50:46 +0200 | [diff] [blame] | 257 | "10200000 10ffffff; erase 10200000 10ffffff; cp.b " \ |
| 258 | "21000000 10200000 ${filesize}\0" \ |
Tom Rix | 3db7af7 | 2009-09-27 07:47:24 -0500 | [diff] [blame] | 259 | "ramargs=setenv bootargs $(bootargs) $(mtdparts)\0" \ |
| 260 | "flashboot=run ramargs;bootm 10040000\0" \ |
| 261 | "netboot=run ramargs;tftpboot 21000000 cpuat91/uImage;" \ |
| 262 | "bootm 21000000\0" |
Eric Bénard | 62d2b62 | 2010-08-09 11:50:45 +0200 | [diff] [blame] | 263 | #endif /* _CONFIG_CPUAT91_H */ |