Re: [U-Boot] [PATCH v1 2/4] arm: socfpga: fix compiling with OF_PLATDATA

2019-01-08 Thread Marek Vasut
On 1/8/19 1:14 PM, Simon Goldschmidt wrote: > On Tue, Jan 8, 2019 at 1:05 PM Marek Vasut wrote: >> >> On 1/8/19 7:32 AM, Simon Goldschmidt wrote: >>> On Mon, Jan 7, 2019 at 11:58 PM Marek Vasut wrote: On 1/7/19 10:14 PM, Simon Goldschmidt wrote: > 'socfpga_eth_reset_common' must not

Re: [U-Boot] [PATCH v1 2/4] arm: socfpga: fix compiling with OF_PLATDATA

2019-01-08 Thread Simon Goldschmidt
On Tue, Jan 8, 2019 at 1:05 PM Marek Vasut wrote: > > On 1/8/19 7:32 AM, Simon Goldschmidt wrote: > > On Mon, Jan 7, 2019 at 11:58 PM Marek Vasut wrote: > >> > >> On 1/7/19 10:14 PM, Simon Goldschmidt wrote: > >>> 'socfpga_eth_reset_common' must not be compiled when OF_PLATDATA is > >>> enabled

Re: [U-Boot] [PATCH v1 2/4] arm: socfpga: fix compiling with OF_PLATDATA

2019-01-08 Thread Marek Vasut
On 1/8/19 7:32 AM, Simon Goldschmidt wrote: > On Mon, Jan 7, 2019 at 11:58 PM Marek Vasut wrote: >> >> On 1/7/19 10:14 PM, Simon Goldschmidt wrote: >>> 'socfpga_eth_reset_common' must not be compiled when OF_PLATDATA is enabled >>> since it uses functions accessing the devicetree. >>> >>> Since th

Re: [U-Boot] [PATCH v1 2/4] arm: socfpga: fix compiling with OF_PLATDATA

2019-01-07 Thread Simon Goldschmidt
On Mon, Jan 7, 2019 at 11:58 PM Marek Vasut wrote: > > On 1/7/19 10:14 PM, Simon Goldschmidt wrote: > > 'socfpga_eth_reset_common' must not be compiled when OF_PLATDATA is enabled > > since it uses functions accessing the devicetree. > > > > Since this function is not used in SPL anyway, change th

Re: [U-Boot] [PATCH v1 2/4] arm: socfpga: fix compiling with OF_PLATDATA

2019-01-07 Thread Marek Vasut
On 1/7/19 10:14 PM, Simon Goldschmidt wrote: > 'socfpga_eth_reset_common' must not be compiled when OF_PLATDATA is enabled > since it uses functions accessing the devicetree. > > Since this function is not used in SPL anyway, change the compile guard > to reflect this and fix compiling SPL with OF