From: Wolfgang Denk Date: Sun, 22 May 2005 22:06:36 +0200 Subject: [U-Boot-Users] Microcode patches for mpc8xx In-Reply-To: Your message of "Sun, 22 May 2005 14:02:14 EDT." Message-ID: <20050522200641.97D02C1512@atlas.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 Dan, in message you wrote: > > >> 4. Finally, what is the assumption about Linux. Is it supposed to > >> reset the CP and reload the patches? > > This is what it's doing at the moment. One can ague if this is a good > > idea or not. > > We kind of have to do it again in Linux because we don't know what > was loaded or if it will match the drivers we have. There are boards > that load CPM microcode patches, aren't running U-Boot, and would > often fail because we couldn't keep the Linux configuration or driver > modifications in sync with the board boot roms. Yes, this is the major argument pro doing it in Linux, too. Of course, for highly optimized systems where you have squeeze the memory footprint as far as possible this is one of the areas where one can save a few bytes. Normally I too think that Linux should not make too many assumptions about the previous state of the hardware. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I program, therefore I am.