Hi Thomas,

Patch is reject.


> diff --git a/cpu/nios2/start.S b/cpu/nios2/start.S
> index 31cd5b0..61784d8 100644
> --- a/cpu/nios2/start.S
> +++ b/cpu/nios2/start.S
> @@ -98,6 +98,17 @@ _cur:      movhi   r5, %hi(_cur - _start)
>       stwio   r7, 0(r5)
--------^^^^^

The existing code uses stxio instructions, which by their
very purpose, bypass the cache. So there's no need to flush
the data cache.

One could argue that invalidating the _instruction_ cache
may be necessary ... but I doubt it, given that first
instructions after reset invalidate the entire instruction
cache. It would be a defensive nevertheless.

Regards,
--Scott
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to