[U-Boot-Users] Configuration of u-boot for DM270 board

Vipul Dashora vipuldashora at tataelxsi.co.in
Mon Jul 18 11:15:53 CEST 2005

Hi All
i m configuring u-boot bootloader for dm270. for this i have to initialize
all memory settings
for this i have done following settings in header file

 * Physical Memory Map
#define CONFIG_NR_DRAM_BANKS 1    /* we have 1 bank of DRAM */
#define PHYS_SDRAM_1  0x00900000 /* SDRAM Bank #1 */
#define PHYS_SDRAM_1_SIZE 0x01800000 /* 24 MB */

#define PHYS_FLASH_1  0x00100000 /* Flash Bank #1 */
#define PHYS_FLASH_SIZE  0x00800000 /* 8 MB */


 * FLASH and environment organization
#define CFG_MAX_FLASH_BANKS 1 /* max number of memory banks  */
#define CFG_MAX_FLASH_SECT 71 /* max number of sectors on one chip */

/* timeout values are in ticks */
#define CFG_FLASH_ERASE_TOUT (2*CFG_HZ) /* Timeout for Flash Erase */
#define CFG_FLASH_WRITE_TOUT (2*CFG_HZ) /* Timeout for Flash Write */

#define CFG_ENV_ADDR  (PHYS_FLASH_1 + 0x1C000)/* Addr of Environment Sector
#define CFG_ENV_SIZE  0x4000 /* Total Size of Environment Sector */

what r the various registers of dm270 that i have to initialize to configure
flash and SDRAM in memsetup.S
any help will be highly appreciated

Thanks and Regards
Vipul Dashora

More information about the U-Boot mailing list