[U-Boot-Users] [PATCH 06/18] avr32: Add support for the ATSTK1006 board
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Fri May 23 23:24:31 CEST 2008
> +#define CFG_DCACHE_LINESZ 32
> +#define CFG_ICACHE_LINESZ 32
> +
> +#define CONFIG_NR_DRAM_BANKS 1
> +
> +/* External flash on STK1000 */
> +#if 0
is it possible to use CFG_EXTERNAL_FLASH or something?
> +#define CFG_FLASH_CFI 1
> +#define CFG_FLASH_CFI_DRIVER 1
> +#endif
> +
> +#define CFG_FLASH_BASE 0x00000000
> +#define CFG_FLASH_SIZE 0x800000
> +#define CFG_MAX_FLASH_BANKS 1
> +#define CFG_MAX_FLASH_SECT 135
> +
> +#define CFG_MONITOR_BASE CFG_FLASH_BASE
> +
> +#define CFG_INTRAM_BASE 0x24000000
> +#define CFG_INTRAM_SIZE 0x8000
> +
> +#define CFG_SDRAM_BASE 0x10000000
> +
> +#define CFG_ENV_IS_IN_FLASH 1
> +#define CFG_ENV_SIZE 65536
> +#define CFG_ENV_ADDR (CFG_FLASH_BASE + CFG_FLASH_SIZE - CFG_ENV_SIZE)
> +
> +#define CFG_INIT_SP_ADDR (CFG_INTRAM_BASE + CFG_INTRAM_SIZE)
> +
> +#define CFG_MALLOC_LEN (256*1024)
> +#define CFG_DMA_ALLOC_LEN (16384)
> +
> +/* Allow 4MB for the kernel run-time image */
> +#define CFG_LOAD_ADDR (CFG_SDRAM_BASE + 0x00400000)
> +#define CFG_BOOTPARAMS_LEN (16 * 1024)
> +
> +/* Other configuration settings that shouldn't have to change all that often */
> +#define CFG_PROMPT "Uboot> "
In the precedent patch you put U-Boot is possible to do it here too?
> +#define CFG_CBSIZE 256
> +#define CFG_MAXARGS 16to do it here too?
> +#define CFG_PBSIZE (CFG_CBSIZE + sizeof(CFG_PROMPT) + 16)
> +#define CFG_LONGHELP 1
Best Regards,
J.
More information about the U-Boot
mailing list