On Oct 3, 2011, at 7:10 PM, Becky Bruce wrote: > We really shouldn't be overwriting bat registers with translation > enabled, especially when we're executing code using one of them > for translating the current instruction stream. Instead, disable > address translation while doing the final BAT setup. > > In order to do this, setup_bats has to move back to asm code, > because we require translation to be enabled to have a stack for > C code. The yucky thing about that is that the assembler doesn't > like ULL so we have to switch to using HIGH/LOW pairs for > physical addresses that are > 32 bits in length. > > Signed-off-by: Becky Bruce <bec...@kernel.crashing.org> > Acked-by: York Sun <york...@freescale.com> > --- > arch/powerpc/cpu/mpc86xx/cpu_init.c | 28 -------- > arch/powerpc/cpu/mpc86xx/start.S | 69 +++++++++++++++++++- > include/configs/MPC8641HPCN.h | 123 +++++++++++++++++++++-------------- > include/mpc86xx.h | 1 + > 4 files changed, 142 insertions(+), 79 deletions(-)
applied to 85xx - k _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot