From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yoshihiro Shimoda Date: Wed, 19 Jan 2011 17:01:42 +0900 Subject: [U-Boot] [PATCH 1/2] net: sh_eth: add cache handling In-Reply-To: <20110118093212.145CA36C@gemini.denx.de> References: <4D33C0DA.4000701@renesas.com> <20110118093212.145CA36C@gemini.denx.de> Message-ID: <4D369A66.7000403@renesas.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang Denk, 2011/01/18 18:32, Wolfgang Denk wrote: > Dear Yoshihiro Shimoda, > > In message <4D33C0DA.4000701@renesas.com> you wrote: >> --- a/drivers/net/sh_eth.c >> +++ b/drivers/net/sh_eth.c >> @@ -36,6 +36,12 @@ >> #ifndef CONFIG_SH_ETHER_PHY_ADDR >> # error "Please define CONFIG_SH_ETHER_PHY_ADDR" >> #endif >> +#ifdef CONFIG_SH_ETHER_CACHE_WRITEBACK >> +#define flush_cache_wback(addr, len) \ >> + dcache_wback_range((u32)addr, (u32)(addr + len - 1)) >> +#else >> +#define flush_cache_wback(...) >> +#endif > > New config options must be documented in the README. > I will document about this option in the README. The README isn't written about the driver now, so I will document about this driver first. Best regards, Yoshihiro Shimoda