[U-Boot-Users] Help: flash driver for CFI complient flash

Hurricane555
2006-04-05T11:18:46Z

I have the same problem and the same output!

Is it right when I add this to my board.h:

#define CFG_FLASH_AM160LV 1 //AM29LV160DB

#define CFG_MAX_FLASH_BANKS 1 /* Max number of flash banks
*/
#define CFG_MAX_FLASH_SECT 35 /* Max number of sectors in one bank
*/

#define CFG_FLASH_ERASE_TOUT 120000 /* Timeout for Flash Erase (in ms)
*/
#define CFG_FLASH_WRITE_TOUT 500 /* Timeout for Flash Write (in ms)
*/

#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
*/
#define CFG_ENV_ADDR (CFG_FLASH_BASE) /* addr of environment */
#define DEBUG
--
View this message in context: http://www.nabble.com/Help%3A-flash-driver-for-CFI-complient-flash-t893564.html#a3762345
Sent from the Uboot - Users forum at Nabble.com.