]> git.sur5r.net Git - u-boot/commit
powerpc/85xx: verify the current address of CCSR before relocating it
authorTimur Tabi <timur@freescale.com>
Mon, 31 Oct 2011 18:30:44 +0000 (13:30 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 8 Nov 2011 14:31:06 +0000 (08:31 -0600)
commit19e438412416c4cd4066dfa7aca679fe291f13e1
tree3fdcdf65e520aeb01cc3f2e8a2b4b151896757c1
parent452ad61c3feeffbf2b5ff74f0a6797af3ba4882c
powerpc/85xx: verify the current address of CCSR before relocating it

Verify that CCSR is actually located where it is supposed to be before
we relocate it.  This is useful in detecting U-Boot configurations that
are broken (e.g. an incorrect value for CONFIG_SYS_CCSRBAR_DEFAULT).
If the current value is wrong, we enter an infinite loop, which is handy
for debuggers.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/start.S