From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Fri, 5 Apr 2013 14:09:15 -0700 Subject: [U-Boot] [v3] command/cache: Add flush command In-Reply-To: <515F3B6D.6000509@ti.com> References: <1365195056-20188-1-git-send-email-yorksun@freescale.com> <515F3B6D.6000509@ti.com> Message-ID: <515F3D7B.8010303@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/05/2013 02:00 PM, Tom Rini wrote: > On 04/05/2013 04:50 PM, York Sun wrote: >> When we copy code/data to the main memory, we may need to flush >> the cache if required by architecture. It uses the existing >> function flush_cache. Syntax is > >> flush > >> The addr and size are given in hexadecimal. Like memory command, >> there is no sanity check for the parameters. > >> Signed-off-by: York Sun --- Change since >> v2: rename flush_cache to flush > > Wait, why? flush_cache was clear as to what we were doing, flush less > so. At least that's my first reaction. > Scott suggested the underscore is not recommended for the command name. Shall I change it to cacheflush or flushcache? York