diff options
author | Matthias Fuchs <matthias.fuchs@esd-electronics.com> | 2007-12-27 17:13:05 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-01-09 13:37:08 +0100 |
commit | 437fc7327f0611f82937858f2d80e4cd61b40984 (patch) | |
tree | bcd6b4bbd9efd6d47815d75631f5e6fbaa705dae /common/spartan2.c | |
parent | 3bff4ffa33729a42645e328a21e8d16488872958 (diff) | |
download | u-boot-437fc7327f0611f82937858f2d80e4cd61b40984.zip u-boot-437fc7327f0611f82937858f2d80e4cd61b40984.tar.gz u-boot-437fc7327f0611f82937858f2d80e4cd61b40984.tar.bz2 |
Fix MSB check in Xilinx Spartan slave serial mode
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Diffstat (limited to 'common/spartan2.c')
-rw-r--r-- | common/spartan2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/spartan2.c b/common/spartan2.c index ef107bc..2f1ea2c 100644 --- a/common/spartan2.c +++ b/common/spartan2.c @@ -441,7 +441,7 @@ static int Spartan2_ss_load (Xilinx_desc * desc, void *buf, size_t bsize) int ret_val = FPGA_FAIL; /* assume the worst */ Xilinx_Spartan2_Slave_Serial_fns *fn = desc->iface_fns; int i; - char val; + unsigned char val; PRINTF ("%s: start with interface functions @ 0x%p\n", __FUNCTION__, fn); |