[U-Boot-Users] AMD 29LV160DB wrong ID

Hurricane555 sohnschein at gmx.de
Fri Apr 7 13:27:18 CEST 2006


I´m a litte bit confused! 
I want to use the CFI_flash.c for my Flash, but I don´t know, what I do
wrong!?

At the moment I wrote this into my board.h:

#define CFG_FLASH_CFI_AMD_RESET
#define CONFIG_AMD_AM160LV
#define PHYS_FLASH_SIZE		0x00200000 /* 2 MB */
#define CFG_MAX_FLASH_SECT	(35)	/* max number of sectors on one chip */
#define CFG_MAX_FLASH_BANKS 1 /* Max # of flash banks */
#define CFG_ENV_ADDR		(CFG_FLASH_BASE + 0x0F0000) /* addr of environment*/
#undef  CFG_FLASH_CHECKSUM
#define CFG_FLASH_ERASE_TOUT    1024000 /* Flash Erase Timeout (ms) */
#define CFG_FLASH_WRITE_TOUT    500     /* Flash Write Timeout (ms) */

#define CFG_FLASH_CFI_DRIVER
#define CFG_FLASH_CFI
#define CFG_FLASH_EMPTY_INFO 

#define CFG_ENV_IS_IN_FLASH         1
#define ENV_IS_EMBEDDED

#define CFG_ENV_OFFSET          0x8000  /* Offset of the Environment Sector  
*/
#define CFG_ENV_SIZE            0x4000  /* Size of the Environment Sector   
*/


is anything wrong? is anthing to be added?

my portwidth of my chip is 16bit but my buswidth is 32bit!


Please help!
--
View this message in context: http://www.nabble.com/AMD-29LV160DB-wrong-ID-t1385577.html#a3801893
Sent from the Uboot - Users forum at Nabble.com.





More information about the U-Boot mailing list