From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 20 Oct 2009 23:58:09 +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: <20091020215810.00F4C1A00B@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 John, In message <4b73d43f0910191545x3127cba5w7fdec3f6382138e3@mail.gmail.com> you wrote: > > 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: I always stand fascinated about the inventiveness of these guys; even when just releasing a new chip from one family where one would expect basicly upward-compatibility they find ways not to simplify the design but to make it more complex and wonderful. Nobody else does so much to save our jobs. > So the problem is painful but I believe doable. The problem I never > resolved was dealing with this mess in linux where the same binary has to > work with both platforms. I decided that the register accesses needed to be > done via an offsets array that was populated at run time but I never got > around to implementing that. Heh. I don't envy the guy who has to do this. 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 "Most people would like to be delivered from temptation but would like it to keep in touch." - Robert Orben