commit | f956ad98b2ba10901b6ea04983e679bc5ddc4d7a | [log] [tgz] |
---|---|---|
author | Joachim Foerster <joachim.foerster@missinglinkelectronics.com> | Thu Oct 20 10:28:10 2011 +0200 |
committer | Thomas Chou <thomas@wytron.com.tw> | Fri Oct 28 09:50:13 2011 +0800 |
tree | b1912eaed3ca0908856ab21c913fb05875854081 | |
parent | ce5207e191c59b3135303fd03b98dd2ac3701ba2 [diff] |
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>