
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@intel.com wrote:
From: Tien Fong Chee tien.fong.chee@intel.com
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 tien.fong.chee@intel.com
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