From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chee, Tien Fong Date: Tue, 23 May 2017 01:39:17 +0000 Subject: [U-Boot] [PATCH v4 3/5] arm: socfpga: Enable FPGA driver on SPL In-Reply-To: References: <1495167262-2305-1-git-send-email-tien.fong.chee@intel.com> <1495167262-2305-4-git-send-email-tien.fong.chee@intel.com> <4ff7b370-29da-0bf0-2fab-f35e5aa4b800@kernel.org> Message-ID: <1495503554.23728.1.camel@intel.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de On Isn, 2017-05-22 at 10:11 -0500, Dinh Nguyen wrote: > > On 05/22/2017 09:23 AM, Dinh Nguyen wrote: > > > > > > > > On 05/18/2017 11:14 PM, tien.fong.chee at intel.com wrote: > > > > > > From: Tien Fong Chee > > > > > > Enable FPGA driver build for SPL. FPGA driver is needed for SPL > > > to configure and getting DDR up before loading U-boot into DDR > > > and > > > booting from there. > > > > > > Signed-off-by: Tien Fong Chee > > > --- > > >  drivers/Makefile | 1 + > > >  1 file changed, 1 insertion(+) > > > > > > diff --git a/drivers/Makefile b/drivers/Makefile > > > index 4a4b237..b4a2230 100644 > > > --- a/drivers/Makefile > > > +++ b/drivers/Makefile > > > @@ -47,6 +47,7 @@ obj-$(CONFIG_OMAP_USB_PHY) += usb/phy/ > > >  obj-$(CONFIG_SPL_SATA_SUPPORT) += block/ > > >  obj-$(CONFIG_SPL_USB_HOST_SUPPORT) += block/ > > >  obj-$(CONFIG_SPL_MMC_SUPPORT) += block/ > > > +obj-$(CONFIG_FPGA) += fpga/ > > There's a SPL_FPGA_SUPPORT already defined. Can you use that? > > Okay, sure. > Also with the above change, you're building in the FPGA driver into > the > SPL for Gen5 devices, you probably didn't want that. > >   CC      spl/drivers/fpga/fpga.o >   CC      spl/drivers/fpga/altera.o >   CC      spl/drivers/fpga/socfpga.o > > Dinh