]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
85xx: Fix relocation of CCSRBAR
authorKumar Gala <galak@kernel.crashing.org>
Mon, 24 Nov 2008 16:29:25 +0000 (10:29 -0600)
committerAndrew Fleming-AFLEMING <afleming@freescale.com>
Thu, 4 Dec 2008 09:15:43 +0000 (03:15 -0600)
commitaed461af81012a398a205e9be67ab37667491838
treea78af3a6e255c9df76970a8257d5c3968bc77462
parentea154a1781135d822eedee7567cc156089eae93c
85xx: Fix relocation of CCSRBAR

If the virtual address for CCSRBAR is the same after relocation but
the physical address is changing we'd end up having two TLB entries with
the same VA.  Instead we new us the new CCSRBAR virt address + 4k as a
temp virt address to access the old CCSRBAR to relocate it.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Andy Fleming <afleming@freescale.com>
cpu/mpc85xx/cpu_init.c