Fix MSB check in Xilinx Spartan slave serial mode
PATCH RESEND 4/5 Fix MSB check in Xilinx Spartan slave serial mode
Signed-off-by Matthias Fuchs <[email protected]>
--- common/spartan2.c | 2 +- common/spartan3.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
common/spartan2.c +1 -1
@@ -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);
common/spartan3.c +1 -1
@@ -446,7 +446,7 @@ static int Spartan3_ss_load (Xilinx_desc * desc, void *buf, size_t bsize)int ret_val =FPGA_FAIL ;/* assume the worst */ Xilinx_Spartan3_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);
Signature · 1 line
1.5.3
Wolfgang Denk
AppliedPATCH RESEND 4/5 Fix MSB check in Xilinx Spartan slave serial mode
Quoted 5 lines · In message <[email protected]> you wrote:
Signed-off-by Matthias Fuchs <[email protected]>--- common/spartan2.c | 2 +- common/spartan3.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Life would be so much easier if we could just look at the source code. -- Dave Olson