public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] AMD 29LV160DB wrong ID
@ 2006-04-03  8:10 Hurricane555
  2006-04-07 11:27 ` Hurricane555
  0 siblings, 1 reply; 2+ messages in thread
From: Hurricane555 @ 2006-04-03  8:10 UTC (permalink / raw)
  To: u-boot

Has anyone this Flash in use? Could you sent your settings!?
--
View this message in context: http://www.nabble.com/AMD-29LV160DB-wrong-ID-t1385577.html#a3721580
Sent from the Uboot - Users forum at Nabble.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot-Users] AMD 29LV160DB wrong ID
  2006-04-03  8:10 [U-Boot-Users] AMD 29LV160DB wrong ID Hurricane555
@ 2006-04-07 11:27 ` Hurricane555
  0 siblings, 0 replies; 2+ messages in thread
From: Hurricane555 @ 2006-04-07 11:27 UTC (permalink / raw)
  To: u-boot

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-07 11:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-03  8:10 [U-Boot-Users] AMD 29LV160DB wrong ID Hurricane555
2006-04-07 11:27 ` Hurricane555

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox