On Fri, Nov 25, 2016 at 1:53 PM, Chris Packham <judge.pack...@gmail.com> wrote: > On Thu, Nov 24, 2016 at 1:14 AM, Michal Simek <mon...@monstr.eu> wrote: >> On 22.11.2016 09:48, Chris Packham wrote: >>> Signed-off-by: Chris Packham <judge.pack...@gmail.com> >>> --- >> >> Isn't this causing some compilation issue for SPL case? >> > > I have compile tested apf27 and didn't see an issue. I'm guessing none > of the FPGA infrastructure is available in SPL.
A better non-guess answer is that yes indeed all of drivers/fgpa is not included in SPL. But CONFIG_FPGA now ends up defined and nm tells me I've probably broken that board nm spl/u-boot-spl | grep fpga_init U fpga_init So how is this usually handled? I can surround the code in board/armadeus/apf27 with #ifndef CONFIG_SPL_BUILD but that seems kind of hacky. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot