From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remco Poelstra Date: Thu, 26 Mar 2009 10:27:35 +0100 Subject: [U-Boot] [PATCH 1/2] LPC2468 support In-Reply-To: <49CB467C.3050303@duran-audio.com> References: <49C0F362.50803@duran-audio.com> <20090318135854.0ED0A832E8B7@gemini.denx.de> <49C10B37.1070506@duran-audio.com> <20090318164606.7B26D832E8B7@gemini.denx.de> <49C25F75.3080906@duran-audio.com> <20090319212230.1AB01832E8B7@gemini.denx.de> <49C8BE7A.10504@duran-audio.com> <20090324223337.18E5B832E406@gemini.denx.de> <49C9EB4D.5050503@duran-audio.com> <20090325214344.GC18991@game.jcrosoft.org> <49CB467C.3050303@duran-audio.com> Message-ID: <49CB4A87.2000501@duran-audio.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Remco Poelstra schreef: >>> Yes I do. They are straight from the LPC2292 code, so once they were >>> considered OK. I checked out the the write{s,l,b} functions in asm/io.h, >>> but although they look similar, for some reason they simply don't work. >>> Given the similarities between the write{s,l,b} and the PUT* functions, >>> what is the problem with those? Furthermore, the ARM architecture >>> doesn't use any kind of special instructions for accessing registers, >>> everything is memory mapped. >> please use readx/writex > > Thanks for the pointer, I'll look into those. I can't find these functions/macros, but I think you mean the write{b,s,l} macros. As I already indicated in a previous e-mail, they do not work in my code. If I replace, e.g. the PUT32 with writel than the code doesn't run. I will look into that problem after I've finished another project at work. Kind regards, Remco Poelstra