public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] How to add new flash support in Uboot code
@ 2007-05-01 16:59 harsh poshtiwala
  2007-05-01 17:14 ` Andrew Dyer
  2007-05-02 21:45 ` Tolunay Orkun
  0 siblings, 2 replies; 3+ messages in thread
From: harsh poshtiwala @ 2007-05-01 16:59 UTC (permalink / raw)
  To: u-boot

Hi ,

We are to use 512 MB Spansion NOR flash (Uniform Sector) on ARM926-EJS
processor..

Part number S29GL512P

http://www.spansion.com/products/S29GL512P.html

I have checked uboot source code(1.1.6) it doesn't support  this part.

How can i make uboot functional for this part ?

Do i need to modify any code in uboot ? if yes where should i make
those changes ?


I would appreciate your pointers on this
-- 
Thanks & Regards
Harsh

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

* [U-Boot-Users] How to add new flash support in Uboot code
  2007-05-01 16:59 [U-Boot-Users] How to add new flash support in Uboot code harsh poshtiwala
@ 2007-05-01 17:14 ` Andrew Dyer
  2007-05-02 21:45 ` Tolunay Orkun
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Dyer @ 2007-05-01 17:14 UTC (permalink / raw)
  To: u-boot

On 5/1/07, harsh poshtiwala <hiharsh@gmail.com> wrote:
> Hi ,
>
> We are to use 512 MB Spansion NOR flash (Uniform Sector) on ARM926-EJS
> processor..
>
> Part number S29GL512P
>
> http://www.spansion.com/products/S29GL512P.html
>
> I have checked uboot source code(1.1.6) it doesn't support  this part.
>
> How can i make uboot functional for this part ?

Use the CFI flash support.  We use the following for S29GL128N in our
board config file.
you might have to tweak the values, but it should 'just work'.

/*
 * Flash Controller settings
 */
#define CFG_FLASH_CFI                   1
#define CFG_FLASH_CFI_DRIVER            1
#define CFG_FLASH_CFI_AMD_RESET
#define CFG_FLASH_USE_BUFFER_WRITE      1
#define CFG_ENV_SECT_SIZE               0x00020000
#define CFG_MAX_FLASH_BANKS             1
#define CFG_MAX_FLASH_SECT              256
#define CFG_FLASH_BASE                  0x10000000


-- 
Hardware, n.:
        The parts of a computer system that can be kicked.

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

* [U-Boot-Users] How to add new flash support in Uboot code
  2007-05-01 16:59 [U-Boot-Users] How to add new flash support in Uboot code harsh poshtiwala
  2007-05-01 17:14 ` Andrew Dyer
@ 2007-05-02 21:45 ` Tolunay Orkun
  1 sibling, 0 replies; 3+ messages in thread
From: Tolunay Orkun @ 2007-05-02 21:45 UTC (permalink / raw)
  To: u-boot

harsh poshtiwala wrote:
> Hi ,
>
> We are to use 512 MB Spansion NOR flash (Uniform Sector) on ARM926-EJS
> processor..
>
> Part number S29GL512P
>
> http://www.spansion.com/products/S29GL512P.html
>
> I have checked uboot source code(1.1.6) it doesn't support  this part.
>
> How can i make uboot functional for this part ?
>
> Do i need to modify any code in uboot ? if yes where should i make
> those changes ?
>
>
> I would appreciate your pointers on this
>   

For CFI compatible chips please use the CFI driver. There is no need to 
add individual flash chips to the list.

Tolunay

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

end of thread, other threads:[~2007-05-02 21:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-01 16:59 [U-Boot-Users] How to add new flash support in Uboot code harsh poshtiwala
2007-05-01 17:14 ` Andrew Dyer
2007-05-02 21:45 ` Tolunay Orkun

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