[U-Boot] [PATCH 1/2] net: sh_eth: add cache handling

Yoshihiro Shimoda yoshihiro.shimoda.uh at renesas.com
Wed Jan 19 09:01:42 CET 2011


Dear Wolfgang Denk,

2011/01/18 18:32, Wolfgang Denk wrote:
> Dear Yoshihiro Shimoda,
> 
> In message <4D33C0DA.4000701 at 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


More information about the U-Boot mailing list