From: Wolfgang Denk Date: Fri, 30 May 2008 11:37:32 +0200 Subject: [U-Boot-Users] [PATCH] Add a fpga memory test and some bugfixes to the fpga POST. In-Reply-To: Your message of "Fri, 30 May 2008 09:48:21 +0200." <12121337013176-git-send-email-sascha.laue@liebherr.com> Message-ID: <20080530093732.9C68B2430A@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <12121337013176-git-send-email-sascha.laue@liebherr.com> you wrote: > > + out_be32(address, pattern[i]); > + /* read other location (protect against data lines capacity) */ > + read_value = in_be16((void *)FPGA_VERSION_REG); You should perform a 32 bit read here, too. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The day-to-day travails of the IBM programmer are so amusing to most of us who are fortunate enough never to have been one - like watching Charlie Chaplin trying to cook a shoe.