]> git.dujemihanovic.xyz Git - u-boot.git/commit
nios2: Pseudo implement dcache_status/enable/disable()
authorJoachim Foerster <joachim.foerster@missinglinkelectronics.com>
Thu, 20 Oct 2011 08:28:10 +0000 (10:28 +0200)
committerThomas Chou <thomas@wytron.com.tw>
Fri, 28 Oct 2011 01:50:13 +0000 (09:50 +0800)
commitf956ad98b2ba10901b6ea04983e679bc5ddc4d7a
treeb1912eaed3ca0908856ab21c913fb05875854081
parentce5207e191c59b3135303fd03b98dd2ac3701ba2
nios2: Pseudo implement dcache_status/enable/disable()

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@missinglinkelectronics.com>
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
arch/nios2/cpu/cpu.c