public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Hurricane555 <sohnschein@gmx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] AMD 29LV160DB wrong ID
Date: Fri, 7 Apr 2006 04:27:18 -0700 (PDT)	[thread overview]
Message-ID: <3801893.post@talk.nabble.com> (raw)
In-Reply-To: <3721580.post@talk.nabble.com>

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.

      reply	other threads:[~2006-04-07 11:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-03  8:10 [U-Boot-Users] AMD 29LV160DB wrong ID Hurricane555
2006-04-07 11:27 ` Hurricane555 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3801893.post@talk.nabble.com \
    --to=sohnschein@gmx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox