From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vladimir Gurevich Date: Mon, 03 Apr 2006 11:26:23 -0700 Subject: [U-Boot-Users] [PATCH] SPI relocation fix In-Reply-To: <4dd15d180604031112r413a7335h668f6a68af7a48f7@mail.gmail.com> References: <20060330230507.473CE353C10@atlas.denx.de> <442C9EA5.6060300@paulidav.org> <4dd15d180603311344j241b8a5eq5d5bf8cd49566085@mail.gmail.com> <442DA4AD.9080709@paulidav.org> <4dd15d180604030953g5f0ae809n6e20266b4093d437@mail.gmail.com> <443158CF.8090805@paulidav.org> <4dd15d180604031032w7a2624e8ycf467e69bd91e950@mail.gmail.com> <44315D67.9050107@paulidav.org> <4dd15d180604031112r413a7335h668f6a68af7a48f7@mail.gmail.com> Message-ID: <443168CF.9030908@paulidav.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello David, David Ho wrote: >cpu/mpc8xx/cpu_init.c > >#if defined(CFG_MPC8XX_RELOCATION_UPATCH) > cpm_load_patch (immr); /* load mpc8xx microcode patch */ >#endif > > OK, so let's fix that instead. I think my original intention was to call this function unconditionally, because it s designed to touch only those registers that are needed for a specific mode. For example in your case, it will only program rpbase without trying to load any microcode. Thanks for pointing it out. Happy hacking, Vladimir