]> git.sur5r.net Git - u-boot/commit
ppc4xx: Fix platform support
authorDirk Eibach <dirk.eibach@gdsys.cc>
Mon, 1 Aug 2016 14:34:49 +0000 (16:34 +0200)
committerStefan Roese <sr@denx.de>
Tue, 9 Aug 2016 07:25:36 +0000 (09:25 +0200)
commit54a0eb7a18b5120d609188e46a1b71e98d6af44b
treea1ab7e069724bb4373b1f670a319c2c01bcc1f97
parent5405817a6e7a6538c4bcb1c3076ddc83fe5d03f9
ppc4xx: Fix platform support

Commit "ecc3066 Fix board init code to respect the C runtime environment"
broke platform support for ppc4xx.
start.S prepares a stackframe that is later rendered unusable by appending
the reserved space for global data.
Instead the reserved space has to be put first. Then the stackframe can
be pushed.

I can only test the 405EP OCM case. At least all other ppc4xx boards still
build.

Signed-off-by: Dirk Eibach <dirk.eibach@gdsys.cc>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/powerpc/cpu/ppc4xx/start.S