[U-Boot] [PATCH v2 11/12] arm: add MMU/d-cache support for Faraday cores

Wolfgang Denk wd at denx.de
Thu Apr 18 13:13:53 CEST 2013


Dear Kuo-Jung Su,

In message <1366277139-29728-12-git-send-email-dantesu at 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.


More information about the U-Boot mailing list