From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Chou Date: Fri, 28 Oct 2011 15:27:38 +0800 Subject: [U-Boot] [PATCH v3] nios2: Pseudo implement dcache_status/enable/disable() In-Reply-To: <1319099290-19267-1-git-send-email-joachim.foerster@missinglinkelectronics.com> References: <4E9FC6F9.6040800@wytron.com.tw> <1319099290-19267-1-git-send-email-joachim.foerster@missinglinkelectronics.com> Message-ID: <4EAA596A.9040106@wytron.com.tw> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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(-) > Hi Joachim, Applied. Thanks. Best regards, Thomas