[U-Boot-Users] Add another FLASH to my board
christian at mcdi.com
Wed May 12 16:37:52 CEST 2004
I ordered a Strataflash from Intel (E28F128J3C), 128 Mbits. I would like to
add it to the AT91RM9200 development board.
Is there any document to explain how to proceed to add a new flash memory?
So I will have two flashes to initialize. But the first flash, it works.
The base address of the first flash (AT49BV162A - 2 MB) is 0x1000000
The base address of the strataflash memory : 0x30000000
1. In lib_arm\board.c, I have to call a strataflash_init() routine in order
to initialize the flash_info_t structure.
2. call display_flash_config to print out the flash size.
3. I don't know what to do with these routines: flash_erase, write_word,
write_buff. The content of these routines are different if we access to the
strataflash or AT49 flash. So, how can I manage it correctly?
More information about the U-Boot