powerpc: mpc85xx: Enable pre-relocation malloc for MPC85xx
author[email protected] <[email protected]>
Tue, 5 Apr 2016 13:05:37 +0000 (15:05 +0200)
committerYork Sun <[email protected]>
Fri, 8 Apr 2016 22:42:10 +0000 (15:42 -0700)
commit50689461205e0125759eb1a43787383a3fa09b48
tree00deec51ae3651b7c7544c20cdef3610226661cd
parentb39d1213e30717c435c8ed43411d573d435557cb
powerpc: mpc85xx: Enable pre-relocation malloc for MPC85xx

To enable DM on MPC85xx, we need pre-relocation malloc, which is
implemented in this patch.

We also make sure that the IVORs are always 4-aligned on e500 to prevent
alignment exceptions caused by code changes in start.S.

Signed-off-by: Mario Six <[email protected]>
Cc: York Sun <[email protected]>
Cc: Simon Glass <[email protected]>
Reviewed-by: York Sun <[email protected]>
arch/powerpc/cpu/mpc85xx/cpu_init_early.c
arch/powerpc/cpu/mpc85xx/start.S
include/ppc_asm.tmpl