From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Schwebel Date: Mon, 15 Dec 2003 19:50:46 +0100 Subject: [U-Boot-Users] [PATCH 5/6] commonspartan Message-ID: <20031215185046.GD10680@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de -------------- 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);