public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Spartan FPGA patch
@ 2007-10-30 15:51 Aggelos Manousarides
  2007-11-03 21:46 ` Wolfgang Denk
  0 siblings, 1 reply; 13+ messages in thread
From: Aggelos Manousarides @ 2007-10-30 15:51 UTC (permalink / raw)
  To: u-boot

The following patch fixes a bug in the slave serial programming mode for 
the xilinx spartan2 FPGA. A "char val" is declared, but it is used as a 
signed char. The check for negative value (<0) is always true on arm, or 
any other platform in which the char is not signed by default. As a 
result the FPGA cannot be programmed.

By the way, I have tested this code and it works fine, apart from this 
error. I am using it in ARM platforms in both slave parallel and slave 
serial modes. I am this because I don't see any other platforms using it.

This is a patch against 1.2.0, but I saw that the same code exists in 
1.3.0-rc3 as well.

--
Angelos Manousarides

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fpga.patch
Type: text/x-patch
Size: 420 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20071030/55725c8e/attachment.bin 

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

end of thread, other threads:[~2007-11-14 19:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-30 15:51 [U-Boot-Users] Spartan FPGA patch Aggelos Manousarides
2007-11-03 21:46 ` Wolfgang Denk
2007-11-05 12:58   ` Aggelos Manousarides
2007-11-05 19:21     ` Wolfgang Denk
2007-11-07 11:43       ` Aggelos Manousarides
2007-11-07 13:33         ` Wolfgang Denk
2007-11-07 16:49           ` Andreas Schweigstill
2007-11-07 19:51             ` Wolfgang Denk
2007-11-14 12:05               ` Aggelos Manousarides
2007-11-14 19:46                 ` Wolfgang Denk
2007-11-07 14:29       ` Matthias Fuchs
2007-11-07 19:48         ` Wolfgang Denk
2007-11-07 21:07           ` Jerry Van Baren

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