2013/4/18 Wolfgang Denk <w...@denx.de>: > Dear Kuo-Jung Su, > > In message <1366277139-29728-12-git-send-email-dant...@gmail.com> you wrote: > ... >> --- a/common/cmd_boot.c >> +++ b/common/cmd_boot.c >> @@ -50,6 +50,10 @@ static int do_go(cmd_tbl_t *cmdtp, int flag, int argc, >> char * const argv[]) >> >> printf ("## Starting application at 0x%08lX ...\n", addr); >> >> +#if defined(__ARM__) && !defined(CONFIG_SYS_DCACHE_OFF) >> + cleanup_before_linux(); >> +#endif >> + >> /* >> * pass address parameter as argv[0] (aka command name), >> * and all remaining args > > Thios affects global code. Please submit as separate patch.
Got it, thanks > > And why exactly is this ARM specific? > Because it only has been tested on ARM platform only, I'm not sure if the others arch. also has the function: cleanup_before_linux(); > Best regards, > > Wolfgang Denk > > -- > DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de > My play was a complete success. The audience was a failure. -- Best wishes, Kuo-Jung Su _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot