From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 8 Apr 2016 15:47:23 -0700 Subject: [U-Boot] [PATCH v3 1/1] mpc85xx: Enable pre-relocation malloc for MPC85xx In-Reply-To: <1459861537-9766-1-git-send-email-mario.six@gdsys.cc> References: <570290A7.8060403@nxp.com> <1459861537-9766-1-git-send-email-mario.six@gdsys.cc> Message-ID: <570834FB.4050108@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/05/2016 06:06 AM, Mario Six wrote: > 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 > Cc: York Sun > Cc: Simon Glass > --- > > v3: > - Add comment regarding gd zeroing > - Unconditionally zero out initial RAM during startup > > v2: > - Correct IVOR alignment and remove nop hack > - Add sanity check for length of malloc area > > > arch/powerpc/cpu/mpc85xx/cpu_init_early.c | 8 +------- > arch/powerpc/cpu/mpc85xx/start.S | 30 ++++++++++++++++++++++++++++++ > include/ppc_asm.tmpl | 3 +++ > 3 files changed, 34 insertions(+), 7 deletions(-) > Minor change in subject and minor fix in cpu_init_early.c. Applied to u-boot-mpc85xx master. Awaiting upstream. Thanks. York