Re: [U-Boot] [PATCH] x86: quark: Fix unused warnings

2018-01-29 Thread Bin Meng
On Tue, Jan 30, 2018 at 2:34 PM, Bin Meng wrote: > On Sun, Jan 28, 2018 at 4:13 AM, Tom Rini wrote: >> The variable t_rfc is never used, so drop it. The variables ddr_wctl >> and ddr_wcmd are only used in certain manual instances, so guard their >>

Re: [U-Boot] [PATCH] x86: quark: Fix unused warnings

2018-01-29 Thread Bin Meng
On Sun, Jan 28, 2018 at 4:13 AM, Tom Rini wrote: > The variable t_rfc is never used, so drop it. The variables ddr_wctl > and ddr_wcmd are only used in certain manual instances, so guard their > declaration by the same check as their use. > > Cc: Bin Meng

[U-Boot] [PATCH] x86: quark: Fix unused warnings

2018-01-27 Thread Tom Rini
The variable t_rfc is never used, so drop it. The variables ddr_wctl and ddr_wcmd are only used in certain manual instances, so guard their declaration by the same check as their use. Cc: Bin Meng Signed-off-by: Tom Rini --- arch/x86/cpu/quark/smc.c |