[U-Boot-Users] [PATCH 5/6] commonspartan
Robert Schwebel
robert at schwebel.de
Mon Dec 15 19:50:46 CET 2003
-------------- next part --------------
#
# 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);
More information about the U-Boot
mailing list