From: Wolfgang Denk Date: Tue, 09 Apr 2013 19:48:35 +0200 Subject: [U-Boot] [v3] command/cache: Add flush command In-Reply-To: <1365450620.28843.12@snotra> References: <1365195056-20188-1-git-send-email-yorksun@freescale.com> <20130405220955.DC9BB2015C6@gemini.denx.de> <515F5812.8030008@freescale.com> <20130406070150.54B072002D9@gemini.denx.de> <20130407082931.1F28B200400@gemini.denx.de> <1365450620.28843.12@snotra> Message-ID: <20130409174835.A3E1720053D@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Scott Wood, In message <1365450620.28843.12@snotra> you wrote: > > > I thought you said it was OK to flush more than the user asked for, if > the implementation does not have separate icache/dcache flushes? Why > is it fundamentally different if it's a hardware limitation, or a > limitation of the software layer whose functionality is being exposed? I don't get what you are trying to prove. Can you please point me to the code (ideally in mainline U-Boot) which would cause problems with the suggested separation of invalidating the IC and flushing the DC into subcommands of the "icache" resp. "dcache" commands? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Little known fact about Middle Earth: The Hobbits had a very sophi- sticated computer network! It was a Tolkien Ring...