summaryrefslogtreecommitdiffstats
path: root/images/Makefile.rockchip
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/Makefile.rockchip
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/Makefile.rockchip')
-rw-r--r--images/Makefile.rockchip9
1 files changed, 9 insertions, 0 deletions
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