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

Thomas Chou thomas at wytron.com.tw
Fri Oct 21 09:00:53 CEST 2011


On 10/20/2011 04:28 PM, Joachim Foerster wrote:
> AFAIK the NIOS2 architecture does not have any possibility to
> dynamically switch off the data cache. So _status() always reports 1 and
> _enable/_disable() just issue a flush of everything.
>
> For example, common/cmd_elf.c depends on these symbols.
>
> Signed-off-by: Joachim Foerster<joachim.foerster at missinglinkelectronics.com>
> ---
> Changes for v3:
> 	- #include proper header file for flush_dcache()
> Changes for v2:
>          - Remove return; from added void functions
>
>   arch/nios2/cpu/cpu.c |   16 ++++++++++++++++
>   1 files changed, 16 insertions(+), 0 deletions(-)
>

Tested-by: Thomas Chou <thomas at wytron.com.tw>


More information about the U-Boot mailing list