TQM834x.h 13.7 KB
Newer Older
1
/* SPDX-License-Identifier: GPL-2.0+ */
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/*
 * (C) Copyright 2005
 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 */

/*
 * TQM8349 board configuration file
 */

#ifndef __CONFIG_H
#define __CONFIG_H

/*
 * High Level Configuration Options
 */
#define CONFIG_E300		1	/* E300 Family */

19
/* IMMR Base Address Register, use Freescale default: 0xff400000 */
20
#define CONFIG_SYS_IMMR		0xff400000
21 22 23 24 25 26 27 28 29 30

/*
 * Local Bus LCRR
 *    LCRR:  DLL bypass, Clock divider is 8
 *
 *    for CSB = 266 MHz it gives LCB clock frequency = 33 MHz
 *
 * External Local Bus rate is
 *    CLKIN * HRCWL_CSB_TO_CLKIN / HRCWL_LCL_BUS_TO_SCB_CLK / LCRR_CLKDIV
 */
31 32
#define CONFIG_SYS_LCRR_DBYP	LCRR_DBYP
#define CONFIG_SYS_LCRR_CLKDIV	LCRR_CLKDIV_8
33 34 35 36 37 38 39 40

/* board pre init: do not call, nothing to do */

/* detect the number of flash banks */

/*
 * DDR Setup
 */
41 42 43
				/* DDR is system memory*/
#define CONFIG_SYS_DDR_BASE	0x00000000
#define CONFIG_SYS_SDRAM_BASE	CONFIG_SYS_DDR_BASE
44
#define CONFIG_SYS_DDR_SDRAM_BASE	CONFIG_SYS_DDR_BASE
45 46 47
#define DDR_CASLAT_25		/* CASLAT set to 2.5 */
#undef CONFIG_DDR_ECC		/* only for ECC DDR module */
#undef CONFIG_SPD_EEPROM	/* do not use SPD EEPROM for DDR setup */
48

49
#undef CONFIG_SYS_DRAM_TEST		/* memory test, takes time */
50 51
#define CONFIG_SYS_MEMTEST_START	0x00000000	/* memtest region */
#define CONFIG_SYS_MEMTEST_END		0x00100000
52 53 54 55

/*
 * FLASH on the Local Bus
 */
56 57 58
#undef CONFIG_SYS_FLASH_CHECKSUM
#define CONFIG_SYS_FLASH_BASE		0x80000000	/* start of FLASH   */
#define CONFIG_SYS_FLASH_SIZE		8		/* FLASH size in MB */
59
#define CONFIG_SYS_FLASH_EMPTY_INFO	/* print 'E' for empty sectors */
60 61 62 63 64 65

/*
 * FLASH bank number detection
 */

/*
66 67 68 69 70 71 72 73
 * When CONFIG_SYS_MAX_FLASH_BANKS_DETECT is defined, the actual number of
 * Flash banks has to be determined at runtime and stored in a gloabl variable
 * tqm834x_num_flash_banks. The value of CONFIG_SYS_MAX_FLASH_BANKS_DETECT is
 * only used instead of CONFIG_SYS_MAX_FLASH_BANKS to allocate the array
 * flash_info, and should be made sufficiently large to accomodate the number
 * of banks that might actually be detected.  Since most (all?) Flash related
 * functions use CONFIG_SYS_MAX_FLASH_BANKS as the number of actual banks on
 * the board, it is defined as tqm834x_num_flash_banks.
74
 */
75
#define CONFIG_SYS_MAX_FLASH_BANKS_DETECT	2
76

77
#define CONFIG_SYS_MAX_FLASH_SECT	512	/* max sectors per device */
78 79

/* 32 bit device at 0x80000000 via GPCM (0x8000_1801) */
80 81 82 83
#define CONFIG_SYS_BR0_PRELIM	((CONFIG_SYS_FLASH_BASE & BR_BA) \
				| BR_MS_GPCM \
				| BR_PS_32 \
				| BR_V)
84 85

/* FLASH timing (0x0000_0c54) */
86 87 88 89
#define CONFIG_SYS_OR_TIMING_FLASH	(OR_GPCM_CSNT \
					| OR_GPCM_ACS_DIV4 \
					| OR_GPCM_SCY_5 \
					| OR_GPCM_TRLX)
90

91
#define CONFIG_SYS_PRELIM_OR_AM		OR_AM_1GB /* OR addr mask: 1 GiB */
92

93 94
#define CONFIG_SYS_OR0_PRELIM		(CONFIG_SYS_PRELIM_OR_AM  \
					| CONFIG_SYS_OR_TIMING_FLASH)
95

96
#define CONFIG_SYS_LBLAWAR0_PRELIM	(LBLAWAR_EN | LBLAWAR_1GB)
97

98 99
					/* Window base at flash base */
#define CONFIG_SYS_LBLAWBAR0_PRELIM	CONFIG_SYS_FLASH_BASE
100 101

/* disable remaining mappings */
102 103 104 105 106 107 108 109 110 111 112 113 114 115
#define CONFIG_SYS_BR1_PRELIM		0x00000000
#define CONFIG_SYS_OR1_PRELIM		0x00000000
#define CONFIG_SYS_LBLAWBAR1_PRELIM	0x00000000
#define CONFIG_SYS_LBLAWAR1_PRELIM	0x00000000

#define CONFIG_SYS_BR2_PRELIM		0x00000000
#define CONFIG_SYS_OR2_PRELIM		0x00000000
#define CONFIG_SYS_LBLAWBAR2_PRELIM	0x00000000
#define CONFIG_SYS_LBLAWAR2_PRELIM	0x00000000

#define CONFIG_SYS_BR3_PRELIM		0x00000000
#define CONFIG_SYS_OR3_PRELIM		0x00000000
#define CONFIG_SYS_LBLAWBAR3_PRELIM	0x00000000
#define CONFIG_SYS_LBLAWAR3_PRELIM	0x00000000
116 117 118 119

/*
 * Monitor config
 */
120
#define CONFIG_SYS_MONITOR_BASE	CONFIG_SYS_TEXT_BASE	/* start of monitor */
121

122
#if (CONFIG_SYS_MONITOR_BASE < CONFIG_SYS_FLASH_BASE)
W
Wolfgang Denk 已提交
123
# define CONFIG_SYS_RAMBOOT
124
#else
W
Wolfgang Denk 已提交
125
# undef  CONFIG_SYS_RAMBOOT
126 127
#endif

128
#define CONFIG_SYS_INIT_RAM_LOCK	1
129 130
#define CONFIG_SYS_INIT_RAM_ADDR	0x20000000 /* Initial RAM address */
#define CONFIG_SYS_INIT_RAM_SIZE	0x1000 /* Size of used area in RAM*/
131

132 133
#define CONFIG_SYS_GBL_DATA_OFFSET	\
			(CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
134
#define CONFIG_SYS_INIT_SP_OFFSET	CONFIG_SYS_GBL_DATA_OFFSET
135

136 137 138 139
				/* Reserve 384 kB = 3 sect. for Mon */
#define CONFIG_SYS_MONITOR_LEN	(384 * 1024)
				/* Reserve 512 kB for malloc */
#define CONFIG_SYS_MALLOC_LEN	(512 * 1024)
140 141 142 143

/*
 * Serial Port
 */
144 145 146
#define CONFIG_SYS_NS16550_SERIAL
#define CONFIG_SYS_NS16550_REG_SIZE	1
#define CONFIG_SYS_NS16550_CLK		get_bus_freq(0)
147

148
#define CONFIG_SYS_BAUDRATE_TABLE  \
149
		{300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 115200}
150

151 152
#define CONFIG_SYS_NS16550_COM1	(CONFIG_SYS_IMMR + 0x4500)
#define CONFIG_SYS_NS16550_COM2	(CONFIG_SYS_IMMR + 0x4600)
153 154 155 156

/*
 * I2C
 */
157 158 159 160 161
#define CONFIG_SYS_I2C
#define CONFIG_SYS_I2C_FSL
#define CONFIG_SYS_FSL_I2C_SPEED	400000
#define CONFIG_SYS_FSL_I2C_SLAVE	0x7F
#define CONFIG_SYS_FSL_I2C_OFFSET	0x3000
162 163

/* I2C EEPROM, configuration for onboard EEPROMs 24C256 and 24C32 */
164 165 166 167
#define CONFIG_SYS_I2C_EEPROM_ADDR		0x50	/* 1010000x */
#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN		2	/* 16 bit */
#define CONFIG_SYS_EEPROM_PAGE_WRITE_BITS	5	/* 32 bytes/write */
#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS	12	/* 10ms +/- 20% */
168 169

/* I2C RTC */
170 171
#define CONFIG_RTC_DS1337			/* use ds1337 rtc via i2c */
#define CONFIG_SYS_I2C_RTC_ADDR		0x68	/* at address 0x68 */
172 173 174 175 176

/*
 * TSEC
 */

177
#define CONFIG_SYS_TSEC1_OFFSET	0x24000
178
#define CONFIG_SYS_TSEC1	(CONFIG_SYS_IMMR + CONFIG_SYS_TSEC1_OFFSET)
179
#define CONFIG_SYS_TSEC2_OFFSET	0x25000
180
#define CONFIG_SYS_TSEC2	(CONFIG_SYS_IMMR + CONFIG_SYS_TSEC2_OFFSET)
181 182 183

#if defined(CONFIG_TSEC_ENET)

184 185 186 187
#define CONFIG_TSEC1		1
#define CONFIG_TSEC1_NAME	"TSEC0"
#define CONFIG_TSEC2		1
#define CONFIG_TSEC2_NAME	"TSEC1"
188 189 190 191
#define TSEC1_PHY_ADDR		2
#define TSEC2_PHY_ADDR		1
#define TSEC1_PHYIDX		0
#define TSEC2_PHYIDX		0
192 193
#define TSEC1_FLAGS		TSEC_GIGABIT
#define TSEC2_FLAGS		TSEC_GIGABIT
194 195

/* Options are: TSEC[0-1] */
196
#define CONFIG_ETHPRIME		"TSEC0"
197 198 199 200 201

#endif	/* CONFIG_TSEC_ENET */

#if defined(CONFIG_PCI)

202
#define CONFIG_PCI_SCAN_SHOW		/* show pci devices on startup */
203 204

/* PCI1 host bridge */
205 206 207 208 209 210 211 212 213 214
#define CONFIG_SYS_PCI1_MEM_BASE	0x90000000
#define CONFIG_SYS_PCI1_MEM_PHYS	CONFIG_SYS_PCI1_MEM_BASE
#define CONFIG_SYS_PCI1_MEM_SIZE	0x10000000	/* 256M */
#define CONFIG_SYS_PCI1_MMIO_BASE	\
			(CONFIG_SYS_PCI1_MEM_BASE + CONFIG_SYS_PCI1_MEM_SIZE)
#define CONFIG_SYS_PCI1_MMIO_PHYS	CONFIG_SYS_PCI1_MMIO_BASE
#define CONFIG_SYS_PCI1_MMIO_SIZE	0x10000000	/* 256M */
#define CONFIG_SYS_PCI1_IO_BASE		0xe2000000
#define CONFIG_SYS_PCI1_IO_PHYS		CONFIG_SYS_PCI1_IO_BASE
#define CONFIG_SYS_PCI1_IO_SIZE		0x1000000	/* 16M */
215 216

#undef CONFIG_EEPRO100
M
Marian Balakowicz 已提交
217
#define CONFIG_EEPRO100
218 219 220
#undef CONFIG_TULIP

#if !defined(CONFIG_PCI_PNP)
221 222
	#define PCI_ENET0_IOADDR	CONFIG_SYS_PCI1_IO_BASE
	#define PCI_ENET0_MEMADDR	CONFIG_SYS_PCI1_MEM_BASE
223
	#define PCI_IDSEL_NUMBER	0x1c    /* slot0 (IDSEL) = 28 */
224 225
#endif

226
#define CONFIG_SYS_PCI_SUBSYS_VENDORID		0x1957  /* Freescale */
227 228 229 230 231 232

#endif	/* CONFIG_PCI */

/*
 * Environment
 */
233 234 235 236
#define CONFIG_ENV_ADDR		\
			(CONFIG_SYS_MONITOR_BASE + CONFIG_SYS_MONITOR_LEN)
#define CONFIG_ENV_SECT_SIZE	0x20000	/* 128K (one sector) for env */
#define CONFIG_ENV_SIZE		0x8000	/*  32K max size */
237 238 239
#define CONFIG_ENV_ADDR_REDUND	(CONFIG_ENV_ADDR + CONFIG_ENV_SECT_SIZE)
#define CONFIG_ENV_SIZE_REDUND	(CONFIG_ENV_SIZE)

240 241
#define CONFIG_LOADS_ECHO		1 /* echo on for serial download */
#define CONFIG_SYS_LOADS_BAUD_CHANGE	1 /* allow baudrate change */
242

243 244 245 246 247
/*
 * BOOTP options
 */
#define CONFIG_BOOTP_BOOTFILESIZE

248 249 250
/*
 * Miscellaneous configurable options
 */
251
#define CONFIG_SYS_LOAD_ADDR	0x2000000	/* default load address */
252

253
#undef CONFIG_WATCHDOG		/* watchdog disabled */
254 255 256

/*
 * For booting Linux, the board info and command line data
257
 * have to be in the first 256 MB of memory, since this is
258 259
 * the maximum mapped by the Linux kernel during initialization.
 */
260 261
				/* Initial Memory map for Linux */
#define CONFIG_SYS_BOOTMAPSZ	(256 << 20)
262

263
#define CONFIG_SYS_HRCW_LOW (\
264 265 266 267 268 269
	HRCWL_LCL_BUS_TO_SCB_CLK_1X1 |\
	HRCWL_DDR_TO_SCB_CLK_1X1 |\
	HRCWL_CSB_TO_CLKIN_4X1 |\
	HRCWL_VCO_1X2 |\
	HRCWL_CORE_TO_CSB_2X1)

270
#if defined(CONFIG_PCI_64BIT)
271
#define CONFIG_SYS_HRCW_HIGH (\
272 273 274 275 276 277 278 279 280 281
	HRCWH_PCI_HOST |\
	HRCWH_64_BIT_PCI |\
	HRCWH_PCI1_ARBITER_ENABLE |\
	HRCWH_PCI2_ARBITER_DISABLE |\
	HRCWH_CORE_ENABLE |\
	HRCWH_FROM_0X00000100 |\
	HRCWH_BOOTSEQ_DISABLE |\
	HRCWH_SW_WATCHDOG_DISABLE |\
	HRCWH_ROM_LOC_LOCAL_16BIT |\
	HRCWH_TSEC1M_IN_GMII |\
282
	HRCWH_TSEC2M_IN_GMII)
283
#else
284
#define CONFIG_SYS_HRCW_HIGH (\
285 286 287
	HRCWH_PCI_HOST |\
	HRCWH_32_BIT_PCI |\
	HRCWH_PCI1_ARBITER_ENABLE |\
288
	HRCWH_PCI2_ARBITER_DISABLE |\
289 290 291 292 293 294
	HRCWH_CORE_ENABLE |\
	HRCWH_FROM_0X00000100 |\
	HRCWH_BOOTSEQ_DISABLE |\
	HRCWH_SW_WATCHDOG_DISABLE |\
	HRCWH_ROM_LOC_LOCAL_16BIT |\
	HRCWH_TSEC1M_IN_GMII |\
295
	HRCWH_TSEC2M_IN_GMII)
296 297
#endif

298
/* System IO Config */
299
#define CONFIG_SYS_SICRH	0
300
#define CONFIG_SYS_SICRL	SICRL_LDP_A
301

302
/* i-cache and d-cache disabled */
303
#define CONFIG_SYS_HID0_INIT	0x000000000
304 305
#define CONFIG_SYS_HID0_FINAL	(CONFIG_SYS_HID0_INIT | \
				 HID0_ENABLE_INSTRUCTION_CACHE)
306
#define CONFIG_SYS_HID2	HID2_HBE
307

308 309
#define CONFIG_HIGH_BATS	1	/* High BATs supported */

310
/* DDR 0 - 512M */
311
#define CONFIG_SYS_IBAT0L	(CONFIG_SYS_SDRAM_BASE \
312
				| BATL_PP_RW \
313 314 315 316 317 318
				| BATL_MEMCOHERENCE)
#define CONFIG_SYS_IBAT0U	(CONFIG_SYS_SDRAM_BASE \
				| BATU_BL_256M \
				| BATU_VS \
				| BATU_VP)
#define CONFIG_SYS_IBAT1L	(CONFIG_SYS_SDRAM_BASE + 0x10000000 \
319
				| BATL_PP_RW \
320 321 322 323 324
				| BATL_MEMCOHERENCE)
#define CONFIG_SYS_IBAT1U	(CONFIG_SYS_SDRAM_BASE + 0x10000000 \
				| BATU_BL_256M \
				| BATU_VS \
				| BATU_VP)
325 326

/* stack in DCACHE @ 512M (no backing mem) */
327
#define CONFIG_SYS_IBAT2L	(CONFIG_SYS_INIT_RAM_ADDR \
328
				| BATL_PP_RW \
329 330 331 332 333
				| BATL_MEMCOHERENCE)
#define CONFIG_SYS_IBAT2U	(CONFIG_SYS_INIT_RAM_ADDR \
				| BATU_BL_128K \
				| BATU_VS \
				| BATU_VP)
334 335

/* PCI */
R
Rafal Jaworowski 已提交
336
#ifdef CONFIG_PCI
337
#define CONFIG_PCI_INDIRECT_BRIDGE
338
#define CONFIG_SYS_IBAT3L	(CONFIG_SYS_PCI1_MEM_BASE \
339
				| BATL_PP_RW \
340 341 342 343 344 345
				| BATL_MEMCOHERENCE)
#define CONFIG_SYS_IBAT3U	(CONFIG_SYS_PCI1_MEM_BASE \
				| BATU_BL_256M \
				| BATU_VS \
				| BATU_VP)
#define CONFIG_SYS_IBAT4L	(CONFIG_SYS_PCI1_MMIO_BASE \
346
				| BATL_PP_RW \
347 348 349 350 351 352 353
				| BATL_MEMCOHERENCE \
				| BATL_GUARDEDSTORAGE)
#define CONFIG_SYS_IBAT4U	(CONFIG_SYS_PCI1_MMIO_BASE \
				| BATU_BL_256M \
				| BATU_VS \
				| BATU_VP)
#define CONFIG_SYS_IBAT5L	(CONFIG_SYS_PCI1_IO_BASE \
354
				| BATL_PP_RW \
355 356 357 358 359 360
				| BATL_CACHEINHIBIT \
				| BATL_GUARDEDSTORAGE)
#define CONFIG_SYS_IBAT5U	(CONFIG_SYS_PCI1_IO_BASE \
				| BATU_BL_16M \
				| BATU_VS \
				| BATU_VP)
R
Rafal Jaworowski 已提交
361
#else
362 363 364 365 366 367
#define CONFIG_SYS_IBAT3L	(0)
#define CONFIG_SYS_IBAT3U	(0)
#define CONFIG_SYS_IBAT4L	(0)
#define CONFIG_SYS_IBAT4U	(0)
#define CONFIG_SYS_IBAT5L	(0)
#define CONFIG_SYS_IBAT5U	(0)
R
Rafal Jaworowski 已提交
368
#endif
369 370

/* IMMRBAR */
371
#define CONFIG_SYS_IBAT6L	(CONFIG_SYS_IMMR \
372
				| BATL_PP_RW \
373 374 375 376 377 378
				| BATL_CACHEINHIBIT \
				| BATL_GUARDEDSTORAGE)
#define CONFIG_SYS_IBAT6U	(CONFIG_SYS_IMMR \
				| BATU_BL_1M \
				| BATU_VS \
				| BATU_VP)
379 380

/* FLASH */
381
#define CONFIG_SYS_IBAT7L	(CONFIG_SYS_FLASH_BASE \
382
				| BATL_PP_RW \
383 384 385 386 387 388
				| BATL_CACHEINHIBIT \
				| BATL_GUARDEDSTORAGE)
#define CONFIG_SYS_IBAT7U	(CONFIG_SYS_FLASH_BASE \
				| BATU_BL_256M \
				| BATU_VS \
				| BATU_VP)
389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405

#define CONFIG_SYS_DBAT0L	CONFIG_SYS_IBAT0L
#define CONFIG_SYS_DBAT0U	CONFIG_SYS_IBAT0U
#define CONFIG_SYS_DBAT1L	CONFIG_SYS_IBAT1L
#define CONFIG_SYS_DBAT1U	CONFIG_SYS_IBAT1U
#define CONFIG_SYS_DBAT2L	CONFIG_SYS_IBAT2L
#define CONFIG_SYS_DBAT2U	CONFIG_SYS_IBAT2U
#define CONFIG_SYS_DBAT3L	CONFIG_SYS_IBAT3L
#define CONFIG_SYS_DBAT3U	CONFIG_SYS_IBAT3U
#define CONFIG_SYS_DBAT4L	CONFIG_SYS_IBAT4L
#define CONFIG_SYS_DBAT4U	CONFIG_SYS_IBAT4U
#define CONFIG_SYS_DBAT5L	CONFIG_SYS_IBAT5L
#define CONFIG_SYS_DBAT5U	CONFIG_SYS_IBAT5U
#define CONFIG_SYS_DBAT6L	CONFIG_SYS_IBAT6L
#define CONFIG_SYS_DBAT6U	CONFIG_SYS_IBAT6U
#define CONFIG_SYS_DBAT7L	CONFIG_SYS_IBAT7L
#define CONFIG_SYS_DBAT7U	CONFIG_SYS_IBAT7U
406

407
#if defined(CONFIG_CMD_KGDB)
408 409 410 411 412 413 414
#define CONFIG_KGDB_BAUDRATE	230400	/* speed of kgdb serial port */
#endif

/*
 * Environment Configuration
 */

415 416
				/* default location for tftp and bootm */
#define CONFIG_LOADADDR		400000
417 418

#define CONFIG_PREBOOT	"echo;"	\
419
	"echo Type \\\"run flash_nfs\\\" to mount root filesystem over NFS;" \
420 421 422 423
	"echo"

#define	CONFIG_EXTRA_ENV_SETTINGS					\
	"netdev=eth0\0"							\
W
Wolfgang Denk 已提交
424
	"hostname=tqm834x\0"						\
425
	"nfsargs=setenv bootargs root=/dev/nfs rw "			\
426
		"nfsroot=${serverip}:${rootpath}\0"			\
427
	"ramargs=setenv bootargs root=/dev/ram rw\0"			\
428 429 430
	"addip=setenv bootargs ${bootargs} "				\
		"ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}"	\
		":${hostname}:${netdev}:off panic=1\0"			\
431
	"addcons=setenv bootargs ${bootargs} console=ttyS0,${baudrate}\0" \
W
Wolfgang Denk 已提交
432
	"flash_nfs_old=run nfsargs addip addcons;"			\
433
		"bootm ${kernel_addr}\0"				\
W
Wolfgang Denk 已提交
434 435 436
	"flash_nfs=run nfsargs addip addcons;"				\
		"bootm ${kernel_addr} - ${fdt_addr}\0"			\
	"flash_self_old=run ramargs addip addcons;"			\
437
		"bootm ${kernel_addr} ${ramdisk_addr}\0"		\
W
Wolfgang Denk 已提交
438 439 440 441 442 443 444 445
	"flash_self=run ramargs addip addcons;"				\
		"bootm ${kernel_addr} ${ramdisk_addr} ${fdt_addr}\0"	\
	"net_nfs_old=tftp 400000 ${bootfile};"				\
		"run nfsargs addip addcons;bootm\0"			\
	"net_nfs=tftp ${kernel_addr_r} ${bootfile}; "			\
		"tftp ${fdt_addr_r} ${fdt_file}; "			\
		"run nfsargs addip addcons; "				\
		"bootm ${kernel_addr_r} - ${fdt_addr_r}\0"		\
446
	"rootpath=/opt/eldk/ppc_6xx\0"					\
W
Wolfgang Denk 已提交
447 448 449 450 451 452 453 454 455 456 457 458 459
	"bootfile=tqm834x/uImage\0"					\
	"fdtfile=tqm834x/tqm834x.dtb\0"					\
	"kernel_addr_r=400000\0"					\
	"fdt_addr_r=600000\0"						\
	"ramdisk_addr_r=800000\0"					\
	"kernel_addr=800C0000\0"					\
	"fdt_addr=800A0000\0"						\
	"ramdisk_addr=80300000\0"					\
	"u-boot=tqm834x/u-boot.bin\0"					\
	"load=tftp 200000 ${u-boot}\0"					\
	"update=protect off 80000000 +${filesize};"			\
		"era 80000000 +${filesize};"				\
		"cp.b 200000 80000000 ${filesize}\0"			\
460
	"upd=run load update\0"						\
461 462 463 464 465 466 467 468 469 470 471
	""

#define CONFIG_BOOTCOMMAND	"run flash_self"

/*
 * JFFS2 partitions
 */
/* mtdparts command line support */

/* default mtd partition table */
#endif	/* __CONFIG_H */