Add support for the Altera SoCFPGA Development Kit. The setup is based on the GHRD from Altera. Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
43 lines
1.8 KiB
Makefile
43 lines
1.8 KiB
Makefile
#
|
|
# barebox image generation Makefile for Altera socfpga
|
|
#
|
|
|
|
# %.socfpga - convert into socfpga image
|
|
# ----------------------------------------------------------------
|
|
quiet_cmd_socfpga_image = SOCFPGA-IMG $@
|
|
cmd_socfpga_image = scripts/socfpga_mkimage -b -o $@ $<
|
|
|
|
$(obj)/%.socfpgaimg: $(obj)/% FORCE
|
|
$(call if_changed,socfpga_image)
|
|
|
|
# ----------------------- Cyclone5 based boards ---------------------------
|
|
pblx-$(CONFIG_MACH_SOCFPGA_ALTERA_SOCKDK) += start_socfpga_socdk_xload
|
|
FILE_barebox-socfpga-socdk-xload.img = start_socfpga_socdk_xload.pblx.socfpgaimg
|
|
socfpga-xload-$(CONFIG_MACH_SOCFPGA_ALTERA_SOCDK) += barebox-socfpga-socdk-xload.img
|
|
|
|
pblx-$(CONFIG_MACH_SOCFPGA_ALTERA_SOCDK) += start_socfpga_socdk
|
|
FILE_barebox-socfpga-socdk.img = start_socfpga_socdk.pblx
|
|
socfpga-barebox-$(CONFIG_MACH_SOCFPGA_ALTERA_SOCDK) += barebox-socfpga-socdk.img
|
|
|
|
pblx-$(CONFIG_MACH_SOCFPGA_TERASIC_SOCKIT) += start_socfpga_sockit_xload
|
|
FILE_barebox-socfpga-sockit-xload.img = start_socfpga_sockit_xload.pblx.socfpgaimg
|
|
socfpga-xload-$(CONFIG_MACH_SOCFPGA_TERASIC_SOCKIT) += barebox-socfpga-sockit-xload.img
|
|
|
|
pblx-$(CONFIG_MACH_SOCFPGA_TERASIC_SOCKIT) += start_socfpga_sockit
|
|
FILE_barebox-socfpga-sockit.img = start_socfpga_sockit.pblx
|
|
socfpga-barebox-$(CONFIG_MACH_SOCFPGA_TERASIC_SOCKIT) += barebox-socfpga-sockit.img
|
|
|
|
pblx-$(CONFIG_MACH_SOCFPGA_EBV_SOCRATES) += start_socfpga_socrates_xload
|
|
FILE_barebox-socfpga-socrates-xload.img = start_socfpga_socrates_xload.pblx.socfpgaimg
|
|
socfpga-xload-$(CONFIG_MACH_SOCFPGA_EBV_SOCRATES) += barebox-socfpga-socrates-xload.img
|
|
|
|
pblx-$(CONFIG_MACH_SOCFPGA_EBV_SOCRATES) += start_socfpga_socrates
|
|
FILE_barebox-socfpga-socrates.img = start_socfpga_socrates.pblx
|
|
socfpga-barebox-$(CONFIG_MACH_SOCFPGA_EBV_SOCRATES) += barebox-socfpga-socrates.img
|
|
|
|
ifdef CONFIG_ARCH_SOCFPGA_XLOAD
|
|
image-y += $(socfpga-xload-y)
|
|
else
|
|
image-y += $(socfpga-barebox-y)
|
|
endif
|