Home
last modified time | relevance | path

Searched hist:"7 f0a22ff25f3b63d259e27a3702a5d10254e7165" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc85xx/
H A Dstart.S7f0a22ff25f3b63d259e27a3702a5d10254e7165 Thu Sep 20 23:34:49 UTC 2012 Scott Wood <scottwood@freescale.com> 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>