MPC83xx - previous patch to set MBAR

Keith Mund keith.mund at clearcube.com
Thu Aug 2 06:20:22 EST 2007


There was a u-boot 1.1.3 patch for start.S posted on the Freescale LTIB
site:
http://www.bitshrine.org/gpp/u-boot-1.1.3-mpc83xx-cpu-4.patch

The end result simply adds a line to set MBAR to match IMMRBAR.

        lis     r3, CFG_IMMRBAR at h
        ori     r3, r3, CFG_IMMRBAR at l
        stw     r3, IMMRBAR(r4)
+       mtspr   MBAR, r3

Are these patches routinely added to the mainstream u-boot code? 

Is there any reason why this fix is not a good idea?




More information about the Linuxppc-dev mailing list