Re: [U-Boot] [PATCH 2/6] rockchip: clk: rk3399: fix warnings for unused variables in SPL/non-SPL

2017-04-01 Thread Simon Glass
On 25 March 2017 at 21:48, Simon Glass wrote: > On 24 March 2017 at 12:24, Philipp Tomsich > wrote: >> Due to differences in the code paths for SPL and non-SPL, some static >> constant structures remain unused in each build variant. This raises >> warnings with recent GCC versions (we currently u

Re: [U-Boot] [PATCH 2/6] rockchip: clk: rk3399: fix warnings for unused variables in SPL/non-SPL

2017-03-25 Thread Simon Glass
On 24 March 2017 at 12:24, Philipp Tomsich wrote: > Due to differences in the code paths for SPL and non-SPL, some static > constant structures remain unused in each build variant. This raises > warnings with recent GCC versions (we currently use GCC-6.3). > > The warnings addressed in this commit

[U-Boot] [PATCH 2/6] rockchip: clk: rk3399: fix warnings for unused variables in SPL/non-SPL

2017-03-24 Thread Philipp Tomsich
Due to differences in the code paths for SPL and non-SPL, some static constant structures remain unused in each build variant. This raises warnings with recent GCC versions (we currently use GCC-6.3). The warnings addressed in this commit (by matching #if conditions for the variable definition wit