[U-Boot] [RFC PATCH] nios2: Pseudo implement dcache_status/enable/disable()

Mike Frysinger vapier at gentoo.org
Mon Oct 17 17:45:10 CEST 2011


On Monday 17 October 2011 11:40:09 Joachim Foerster wrote:
> +void dcache_enable(void)
> +{
> +	flush_dcache(CONFIG_SYS_DCACHE_SIZE, CONFIG_SYS_DCACHELINE_SIZE);
> +	return;
> +}
> +
> +void dcache_disable(void)
> +{
> +	flush_dcache(CONFIG_SYS_DCACHE_SIZE, CONFIG_SYS_DCACHELINE_SIZE);
> +	return;
> +}

drop the useless "return;" statements
-mike


More information about the U-Boot mailing list