powerpc: mpc83xx: Enable pre-relocation malloc
authormario.six@gdsys.cc <mario.six@gdsys.cc>
Tue, 17 Jan 2017 07:33:48 +0000 (08:33 +0100)
committerYork Sun <york.sun@nxp.com>
Wed, 1 Feb 2017 01:50:35 +0000 (17:50 -0800)
commitdbcb2c0e2ba28fc61ab03f57de14f1085e69834f
tree4873d3a844459a5fc6dea2ee43494cb7479c543d
parente80311a5f09967b2c33a772c26983abfbc821140
powerpc: mpc83xx: Enable pre-relocation malloc

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

Signed-off-by: Mario Six <mario.six@gdsys.cc>
[York S: Fixed compiling warning for unused variable 'i']
Reviewed-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc83xx/cpu_init.c
arch/powerpc/cpu/mpc83xx/spl_minimal.c
arch/powerpc/cpu/mpc83xx/start.S