From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott McNutt Date: Tue, 22 Mar 2005 20:40:38 -0500 Subject: [U-Boot-Users] do_bootm() and flush_cache() Message-ID: <4240C916.30901@psyent.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I'm looking for some guidance: On some processors (e.g. Nios-II), the instruction and data caches can't be disabled. The code for loadb, loads, etc. call flush_cache() ... so life is good. But after reviewing do_bootm(), I don't see where the caches are flushed. A call to flush_cache() after moving/decompressing the image seems appropriate, but I'm not sure if this would break other architectures ... ... do I need to wrap an ifdef around a call to flush_cache() ? Regards, --Scott