]> git.ipfire.org Git - people/ms/u-boot.git/commit
powerpc: mpc85xx: Enable pre-relocation malloc for MPC85xx
authormario.six@gdsys.cc <mario.six@gdsys.cc>
Tue, 5 Apr 2016 13:05:37 +0000 (15:05 +0200)
committerYork Sun <york.sun@nxp.com>
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 <mario.six@gdsys.cc>
Cc: York Sun <york.sun@nxp.com>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc85xx/cpu_init_early.c
arch/powerpc/cpu/mpc85xx/start.S
include/ppc_asm.tmpl