All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] problems about flash setting
@ 2003-10-17  8:33 wang cheng
  2003-10-18 20:36 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: wang cheng @ 2003-10-17  8:33 UTC (permalink / raw)
  To: u-boot

dear all!
sorry ,but i really don't understand.
1.What's the meaning of flash memory banks,is the number of flash 
chips? ie:if i have 2 chips of 29f040s on my board,then the 
CFG_MAX_FLASH_BANKS should be 2,right? 
2.What's the meaning of FLASH_BASE0_PRELIM  and FLASH_BASE1_PRELIM, 
Is the  FLASH_BASE0_PRELIM should be set to the flash_base_addr that 
defined by cs0? Then what about flash_base1_prelim? 
3.What's the difference between br/or_prelim  and br/or_remap and their 
respective function ??Is the br/or_remap must be set  or optional 
depended on my board?
Thanks very much for any help!

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

* [U-Boot-Users] problems about flash setting
  2003-10-17  8:33 [U-Boot-Users] problems about flash setting wang cheng
@ 2003-10-18 20:36 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2003-10-18 20:36 UTC (permalink / raw)
  To: u-boot

In message <3a57b3d292.3d2923a57b@rails.com.cn> you wrote:
>
> sorry ,but i really don't understand.

Did you try searching the archives?

> 1.What's the meaning of flash memory banks,is the number of flash
> chips? ie:if i have 2 chips of 29f040s on my board,then the
> CFG_MAX_FLASH_BANKS should be 2,right?

No. Maybe.

No - a bank of flash memory is what gets accesses using one  specific
chip select line.

Maybe - it depens how your flash is organised - 4 chips can  be  just
one bank of memory, for example if you use 4 chips of 8 bit to form a
32 bit wode bus.

> 2.What's the meaning of FLASH_BASE0_PRELIM  and FLASH_BASE1_PRELIM,

These are the base addresses for the first and the second flash  bank
as  used  by the preliminary mappings. See the README, section System
Initialization.

> Is the  FLASH_BASE0_PRELIM should be set to the flash_base_addr that
> defined by cs0? Then what about flash_base1_prelim?

See the README.

> 3.What's the difference between br/or_prelim  and br/or_remap and
>  their
> respective function ??Is the br/or_remap must be set  or optional
> depended on my board?

See the README.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The people of Gideon have always believed that life is  sacred.  That
the  love  of  life  is  the  greatest  gift  ... We are incapable of
destroying or interfering with the creation of that which we love  so
deeply -- life in every form from fetus to developed being.
	-- Hodin of Gideon, "The Mark of Gideon", stardate 5423.4

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

end of thread, other threads:[~2003-10-18 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-17  8:33 [U-Boot-Users] problems about flash setting wang cheng
2003-10-18 20:36 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.