[U-Boot-Users] How to add new flash support in Uboot code

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

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

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
participants (3)
-
Andrew Dyer
-
harsh poshtiwala
-
Tolunay Orkun