Fix mv64x60 register relocation bug in bootwrapper
PATCH 1/1 Fix mv64x60 register relocation bug in bootwrapper
The gt64260 looks at the highest 20 bits while the mv64[34]60 looks at only the highest 16 bits when determining the base address for the bridge's registers. This patch adds support for both.
Please apply.
Signed-off-by Nate Case <[email protected]>
Signed-off-by Mark A. Greer <[email protected]>
--
arch/ppc/boot/simple/misc-mv64x60.S +4 -0
@@ -32,7 +32,11 @@ #if (CONFIG_MV64X60_NEW_BASE != CONFIG_MV64X60_BASE) move_base: li r20,0 +#ifdef CONFIG_GT64260 li r23,20 +#else /* Must be mv64[34]60 which uses top 16 bits */ + li r23,16 +#endif /* Relocate bridge's regs */ addis r25,0,CONFIG_MV64X60_BASE@h