From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Thu, 18 Apr 2013 13:13:53 +0200 Subject: [U-Boot] [PATCH v2 11/12] arm: add MMU/d-cache support for Faraday cores In-Reply-To: <1366277139-29728-12-git-send-email-dantesu@gmail.com> References: <1366277139-29728-1-git-send-email-dantesu@gmail.com> <1364540788-13943-2-git-send-email-dantesu@gmail.com> <1366277139-29728-12-git-send-email-dantesu@gmail.com> Message-ID: <20130418111353.5FB9420019A@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kuo-Jung Su, In message <1366277139-29728-12-git-send-email-dantesu@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. And why exactly is this ARM specific? 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: wd at denx.de My play was a complete success. The audience was a failure.