summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-04-29 08:34:54 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-04-29 08:40:40 +0200
commit903b1d430904588ef9f6b2f897b46e3e3cc4516a (patch)
treed3fd8739f5ba44cc70966bc2a15420f5e65fda9b /images
parent3bef9916a3610e5323c0297ad78471d331c332d5 (diff)
downloadbarebox-903b1d430904588ef9f6b2f897b46e3e3cc4516a.tar.gz
barebox-903b1d430904588ef9f6b2f897b46e3e3cc4516a.tar.xz
ARM: Rockchip: switch to multiimage support
- Add images/Makefile.rockchip - Allow multiple boards to be selected - protect initcalls with appropriate of_machine_is_compatible - rename board specific config to SoC config - Add dtb file to compilation - turn barebox_arm_reset_vectorto ENTRY_FUNCTION - pass dtb to barebox_arm_entry Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'images')
-rw-r--r--images/Makefile1
-rw-r--r--images/Makefile.rockchip9
2 files changed, 10 insertions, 0 deletions
diff --git a/images/Makefile b/images/Makefile
index 8ec17914a3..5509a4cf80 100644
--- a/images/Makefile
+++ b/images/Makefile
@@ -99,6 +99,7 @@ $(obj)/%.img: $(obj)/$$(FILE_$$(@F))
include $(srctree)/images/Makefile.am33xx
include $(srctree)/images/Makefile.imx
include $(srctree)/images/Makefile.mvebu
+include $(srctree)/images/Makefile.rockchip
include $(srctree)/images/Makefile.socfpga
include $(srctree)/images/Makefile.tegra
diff --git a/images/Makefile.rockchip b/images/Makefile.rockchip
new file mode 100644
index 0000000000..2444433013
--- /dev/null
+++ b/images/Makefile.rockchip
@@ -0,0 +1,9 @@
+#
+# barebox image generation Makefile for Rockchip images
+#
+
+board = $(srctree)/arch/$(ARCH)/boards
+
+pblx-$(CONFIG_MACH_RADXA_ROCK) += start_radxa_rock
+FILE_barebox-radxa-rock.img = start_radxa_rock.pblx
+image-$(CONFIG_MACH_RADXA_ROCK) += barebox-radxa-rock.img