From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikram Narayanan Date: Fri, 25 May 2012 19:59:15 +0530 Subject: [U-Boot] [PATCH V2] MPC8xxx: Define cache ops for USB In-Reply-To: <1337955286-22345-1-git-send-email-marex@denx.de> References: <1337948672-7202-1-git-send-email-marex@denx.de> <1337955286-22345-1-git-send-email-marex@denx.de> Message-ID: <4FBF973B.8090904@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Marek, On 5/25/2012 7:44 PM, Marek Vasut wrote: > This patch conditionally defines flush_dcache_range() and > invalidate_dcache_range() on MPC8xxx, to avoid EHCI complaining, > resulting in the following output: > + > +void invalidate_dcache_range(unsigned long start, unsigned long stop) > +{ > +} > + > +void flush_dcache_range(unsigned long start, unsigned long stop) > +{ > +} Don't mind if this is a stupid question. Can't this be placed in some common header? Just to avoid code duplication! Thanks, Vikram