Skip to contentSkip to conversation

Xilinx SPI driver

U-Boot Seyyed Mohammad Sajjadi 2 participants 2 messages May 4, 2009 – May 6, 2009

lore
Share & tools
lore
#0 lore raw

Hi

After searching internet for a good example of using U-boot PPC405 in xilinx FPGAs with only a SPI Flash, and finding nothing, I began writing my own driver. I used a couple of standalone examples besides the linux driver as the base point, and could finally use it. As much as I have tested the system, it is working fine with a m25p64 spi flash. Now I would be happy to share the driver, but haven't done such a thing previously. I am not even much familiar with patch! Is there any document telling the procedure?
Besides I have developed board support for suaku V sz410 board, and a simplistic driver for xilinx frame buffer core too (which is not as much tested as the spi driver). Should I submit them too?

Regards
S. M. Sajjadi

#1 lore raw

Hi,

Quoted 6 lines

Hi

After searching internet for a good example of using U-boot PPC405 in xilinx FPGAs with only a SPI Flash, and finding nothing, I began writing my own driver. I used a couple of standalone examples besides the linux driver as the base point, and could finally use it. As much as I have tested the system, it is working fine with a m25p64 spi flash. Now I would be happy to share the driver, but haven't done such a thing previously. I am not even much familiar with patch! Is there any document telling the procedure?
Besides I have developed board support for suaku V sz410 board, and a simplistic driver for xilinx frame buffer core too (which is not as much tested as the spi driver). Should I submit them too?

Adding this driver to mainline depends on style of your driver. You should look at http://www.denx.de/wiki/U-Boot/CodingStyle and
http://www.denx.de/wiki/U-Boot/Patches

Both drivers will be useful. I can test them on Microblaze cpu.

Please write there any information about configuration - which IP you use and how to test it.

If you want you can send your patches directly to me and I take a look before you send them to mailing list.

Regards,
Michal

Quoted 9 lines

Regards
S. M. Sajjadi

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Signature · 2 lines
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854