public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Xilinx SPI driver
@ 2009-05-04 17:30 Seyyed Mohammad Sajjadi
  2009-05-06 14:21 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Seyyed Mohammad Sajjadi @ 2009-05-04 17:30 UTC (permalink / raw)
  To: u-boot


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


      

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

* [U-Boot] Xilinx SPI driver
  2009-05-04 17:30 [U-Boot] Xilinx SPI driver Seyyed Mohammad Sajjadi
@ 2009-05-06 14:21 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2009-05-06 14:21 UTC (permalink / raw)
  To: u-boot

Hi,
> 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


> Regards
> S. M. Sajjadi
> 
> 
>       
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot


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

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

end of thread, other threads:[~2009-05-06 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-04 17:30 [U-Boot] Xilinx SPI driver Seyyed Mohammad Sajjadi
2009-05-06 14:21 ` Michal Simek

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