u-boot-brain/arch/powerpc
Scott Wood 7f0a22ff25 powerpc/mpc85xx: fix TLB alignment
In the RAMBOOT/SPL case we were creating a TLB entry starting at
CONFIG_SYS_MONITOR_BASE, and just hoping that the base was properly
aligned for the TLB entry size.  This turned out to not be the case
with NAND SPL because the main U-Boot starts at an offset into the image
in order to skip the SPL itself.

Fix the TLB entry to always start at a proper alignment.  We still assume that
CONFIG_SYS_MONITOR_BASE doesn't start immediately before a large-page boundary
thus requiring multiple TLB entries.

Signed-off-by: Scott Wood <scottwood@frescale.com>
Cc: Andy Fleming <afleming@freescale.com>
2012-11-26 15:41:22 -06:00
..
cpu powerpc/mpc85xx: fix TLB alignment 2012-11-26 15:41:22 -06:00
include/asm arch/powerpc/include/asm/io.h: fix warning: preprocessor token __iomem redefined 2012-11-04 11:00:35 -07:00
lib powerpc: change .fixup test to a GCC version test 2012-11-26 15:41:22 -06:00
config.mk powerpc: change .fixup test to a GCC version test 2012-11-26 15:41:22 -06:00