From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Christophe PLAGNIOL-VILLARD Date: Fri, 23 May 2008 23:24:31 +0200 Subject: [U-Boot-Users] [PATCH 06/18] avr32: Add support for the ATSTK1006 board In-Reply-To: <1211546188-15196-7-git-send-email-haavard.skinnemoen@atmel.com> References: <1211546188-15196-1-git-send-email-haavard.skinnemoen@atmel.com> <1211546188-15196-2-git-send-email-haavard.skinnemoen@atmel.com> <1211546188-15196-3-git-send-email-haavard.skinnemoen@atmel.com> <1211546188-15196-4-git-send-email-haavard.skinnemoen@atmel.com> <1211546188-15196-5-git-send-email-haavard.skinnemoen@atmel.com> <1211546188-15196-6-git-send-email-haavard.skinnemoen@atmel.com> <1211546188-15196-7-git-send-email-haavard.skinnemoen@atmel.com> Message-ID: <20080523212431.GC5995@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > +#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.