
On Friday 18 April 2008, Wolfgang Denk wrote:
In message 1208130139-18440-1-git-send-email-vapier@gentoo.org you wrote:
Change the bootelf setup function into a dedicated weak function called do_bootelf_exec. This way ports can control the behavior however they like before/after calling the ELF entry point.
common/cmd_elf.c | 33 +++++++++++++++++++++------------ 1 files changed, 21 insertions(+), 12 deletions(-)
Applied, thanks.
Unfortunately this breaks all 440 ports using elf:
Configuring for sequoia board... common/libcommon.a(cmd_elf.o): In function `do_bootelf_exec': /home/stefan/git/u-boot/u-boot/common/cmd_elf.c:54: undefined reference to `dcache_enable' make: *** [u-boot] Error 1 ppc_4xx-size: './u-boot': No such file
No dcache_enble() here currently. I'll send a patch to add dcache_enable() to 440 in a short while. But this could affect other platforms as well.
Best regards, Stefan
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office@denx.de =====================================================================