commit | f292474a728153b9322c22179c65f9e985494c80 | [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 | 64b94ddf30a8786c66d8449b27631607866317f4 [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>