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

Robert Schwebel robert at pengutronix.de
Tue Dec 9 20:02:12 CET 2003


#
# 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