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] Help: flash driver for CFI complient flash
Date: Wed, 5 Apr 2006 04:18:46 -0700 (PDT)	[thread overview]
Message-ID: <3762345.post@talk.nabble.com> (raw)
In-Reply-To: <OF7B640C5F.011B1D7E-ON652570F3.0047B755-652570F3.005160C4@tcs.com>

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.

      parent reply	other threads:[~2006-04-05 11:18 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-11  9:00 [U-Boot-Users] Help: flash driver for CFI complient flash s.maiti at tcs.com
2006-01-11 10:27 ` Wolfgang Denk
2006-01-11 11:16   ` s.maiti at tcs.com
2006-01-11 12:13     ` Wolfgang Denk
2006-01-11 14:48       ` s.maiti at tcs.com
2006-01-11 15:54         ` Wolfgang Denk
2006-01-11 16:03           ` Dan Poirot
2006-04-05 11:18         ` 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=3762345.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