commit | c19b068d25c350c4ef39ecdf2ad77d598c6f3633 | [log] [tgz] |
---|---|---|
author | Timur Tabi <timur@freescale.com> | Mon Oct 31 13:30:44 2011 -0500 |
committer | Kumar Gala <galak@kernel.crashing.org> | Tue Nov 08 08:31:06 2011 -0600 |
tree | 3fdcdf65e520aeb01cc3f2e8a2b4b151896757c1 | |
parent | 22171825e2f67fbb1c4a52106c91fdc242785259 [diff] |
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>