]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
Fix a bug in the slave serial programming mode for the Xilinx
authorWolfgang Denk <wd@denx.de>
Sat, 17 Nov 2007 00:30:40 +0000 (01:30 +0100)
committerWolfgang Denk <wd@denx.de>
Sat, 17 Nov 2007 00:30:40 +0000 (01:30 +0100)
commit6ecbb7a3fa9b0940ed33e490d195d4b6830b2422
treef0d1454732f4c18d24a9679e555da37b41cf2c42
parentd08b7233bc252faad8339e7ca0ddfd62fa79903c
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>
common/spartan2.c
common/spartan3.c