Re: [PATCH 2/2] bsp/sparc: Flush only instruction cache

2014-07-03 Thread Joel Sherrill
OK except one style comment. On 7/3/2014 4:39 AM, Daniel Cederman wrote: > The flush instruction on LEON flushes both the data and the instruction > cache. Flushing of just the instruction cache can be done by setting > the "flush instruction cache" bit in the cache control register. > --- > c/src

[PATCH 2/2] bsp/sparc: Flush only instruction cache

2014-07-03 Thread Daniel Cederman
The flush instruction on LEON flushes both the data and the instruction cache. Flushing of just the instruction cache can be done by setting the "flush instruction cache" bit in the cache control register. --- c/src/lib/libbsp/sparc/leon3/include/cache_.h |4 +++- c/src/lib/libbsp/sparc/leon3/