summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-10-12 12:26:52 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-10-17 08:46:06 +0200
commit51bf6848bc309f4e1111a756f8800a9586c3e3dd (patch)
tree163f079116c32b31ddb7b300b335c84d2231306b /images
parent22c64af6863b97556b9dc08b04a45350d1794f29 (diff)
downloadbarebox-51bf6848bc309f4e1111a756f8800a9586c3e3dd.tar.gz
barebox-51bf6848bc309f4e1111a756f8800a9586c3e3dd.tar.xz
ARM: vexpress: switch to DT probe and multi-image build
This switches the VExpress support to use an internal DT, instead of probing the peripherals from a board file. It also switches to a multi-iamge build with both CA9 and CA15 variants of the VExpress board being supported. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images')
-rw-r--r--images/Makefile1
-rw-r--r--images/Makefile.vexpress11
2 files changed, 12 insertions, 0 deletions
diff --git a/images/Makefile b/images/Makefile
index 705c8ad03e..5c4d99ac5a 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -111,6 +111,7 @@ include $(srctree)/images/Makefile.omap3
include $(srctree)/images/Makefile.rockchip
include $(srctree)/images/Makefile.socfpga
include $(srctree)/images/Makefile.tegra
+include $(srctree)/images/Makefile.vexpress
include $(srctree)/images/Makefile.at91
targets += $(image-y) pbl.lds barebox.x barebox.z
diff --git a/images/Makefile.vexpress b/images/Makefile.vexpress
new file mode 100644
index 0000000000..0f12dc12a5
--- /dev/null
+++ b/images/Makefile.vexpress
@@ -0,0 +1,11 @@
+#
+# barebox image generation Makefile for VExpress images
+#
+
+pblx-$(CONFIG_MACH_VEXPRESS) += start_vexpress_ca9
+FILE_barebox-vexpress-ca9.img = start_vexpress_ca9.pblx
+image-$(CONFIG_MACH_VEXPRESS) += barebox-vexpress-ca9.img
+
+pblx-$(CONFIG_MACH_VEXPRESS) += start_vexpress_ca15
+FILE_barebox-vexpress-ca15.img = start_vexpress_ca15.pblx
+image-$(CONFIG_MACH_VEXPRESS) += barebox-vexpress-ca15.img