[U-Boot-Users] [PATCH 5/6] spartan fix

9 Dec
2003
9 Dec
'03
8:02 p.m.
# # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher #
--- u-boot-patches/common/spartan2.c~commonspartan 2003-07-24 16:59:42.000000000 +0200 +++ u-boot-patches/common/spartan2.c 2003-12-09 08:52:06.000000000 +0100 @@ -516,7 +516,7 @@ (*fn->clk) (FALSE, TRUE, cookie); CONFIG_FPGA_DELAY (); /* Write data */ - (*fn->wr) ((val < 0), TRUE, cookie); + (*fn->wr) ((val & 0x80), TRUE, cookie); CONFIG_FPGA_DELAY (); /* Assert the clock */ (*fn->clk) (TRUE, TRUE, cookie);
7825
Age (days ago)
7825
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Schwebel