From: Wolfgang Denk Date: Thu, 24 Feb 2011 00:32:53 +0100 Subject: [U-Boot] building enc28j60 for omap3: SILICON ERRATA In-Reply-To: <20110223233201.09aee7e4@wker> References: <20110216172917.4a5e83cc@BlackBox> <4D5C09EB.4090408@emk-elektronik.de> <20110222173430.06aa118b@BlackBox> <20110223233201.09aee7e4@wker> Message-ID: <20110223233253.AE9A2D4714F@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 Dear Anatolij Gustschin, In message <20110223233201.09aee7e4@wker> you wrote: > > No, please do not remove them. Fix the register access > problem instead. > > > Anyway all read and write to enc fails. > > Could that be related to omap3_spi implementation? > > Yes. If you use the omap3_spi driver in current mainline tree, > then definitely the omap3_spi driver is the problem. enc28j60 > register and buffer access can not work with this current driver > version. There might also be other issues. The omap3_spi driver was one of those affected by the bug fixed in commit 495df3b "ARM: fix write*() I/O accessors", see http://patchwork.ozlabs.org/patch/82841/ This is fixed in mainline now, so it might be wise to update the code base and just try again. 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 On the subject of C program indentation: "In My Egotistical Opinion, most people's C programs should be indented six feet downward and covered with dirt." - Blair P. Houghton