Skip to content
Commit 7f0a22ff authored by Scott Wood's avatar Scott Wood
Browse files

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: default avatarScott Wood <scottwood@frescale.com>
Cc: Andy Fleming <afleming@freescale.com>
parent 6ec63f41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment