commit | 3c1f9ade0fc6de6ec38c73dda5911db65a947f4b | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Sat Nov 17 01:30:40 2007 +0100 |
committer | Wolfgang Denk <wd@denx.de> | Sat Nov 17 01:30:40 2007 +0100 |
tree | f0d1454732f4c18d24a9679e555da37b41cf2c42 | |
parent | 4e56a50563912c7690d86ccc9bf3f8fd84b4c262 [diff] |
Fix a bug in the slave serial programming mode for the Xilinx Spartan2/3 FPGAs. The old code used "< 0" on a "char" type to test if the most significant bit was set, which did not work on any architecture where "char" defaulted to be an unsigned type. Based on a patch by Angelos Manousaridis <amanous@inaccessnetworks.com> Signed-off-by: Wolfgang Denk <wd@denx.de>