From: Kenneth Johansson Date: Wed, 21 Oct 2009 17:20:24 +0200 Subject: [U-Boot] [PATCH] Add mpc5125ads board and processor to the mpc512x family In-Reply-To: <4b73d43f0910191545x3127cba5w7fdec3f6382138e3@mail.gmail.com> References: <200910131345510.SM02960@206.180.163.89> <20091018194602.7FEBA3F6CE@gemini.denx.de> <4b73d43f0910191545x3127cba5w7fdec3f6382138e3@mail.gmail.com> Message-ID: <1256138424.22238.65.camel@kenjo-laptop> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, 2009-10-19 at 16:45 -0600, John Rigby wrote: > Regarding 512x psc register maps: > > The register map for 5125 does not just change the size of the registers. > Some registers change locations. The issue is that the hardware guys > decided to "fix" the old broken register access. The 5200, 5121, 5123 had > some registers that were: > > Function A when read but function B when written. I would like to hear what the designer had for argument to justify that solution. Another favorite is the write only register. GPIO without set/reset registers that force a read/modify/write cycle. Then we have things that are more bugs than design The "god" register that is not affected by any reset turning a reboot/reset into a game of chance. The occasional write register. do { *reg =xx }while (*reg != xx)