summaryrefslogtreecommitdiff
path: root/arch/microblaze/boot/linked_dtb.S
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-09-14 13:15:49 (GMT)
committerMichal Simek <monstr@monstr.eu>2009-09-24 08:28:22 (GMT)
commitf05131cd7a9521031ccb1afd6234ce57ff03ae45 (patch)
tree35723939661604ca031afead37cb5e270362e9d2 /arch/microblaze/boot/linked_dtb.S
parentcfa9a775b9ddcef7f53c35e489a71cfed8c02710 (diff)
downloadlinux-fsl-qoriq-f05131cd7a9521031ccb1afd6234ce57ff03ae45.tar.xz
microblaze: Support simpleImage.dts make target
Instead of remembering to specify DTB= on the make commandline, this commit allows the much friendlier make simpleImage.<dts> where <dts>.dts is expected to be found in arch/microblaze/boot/dts/ The resulting vmlinux, with the compiled DTS linked in, will be copied to boot/simpleImage.<dts> This mirrors the same functionality as on PowerPC, albeit achieving it in a slightly different way. + strip simpleImage file The size of output file is very similar to linux.bin. vmlinux - full elf without fdt blob simpleImage.<dtb name>.unstrip - full elf with fdt blob simpleImage.<dtb name> - stripped elf with fdt blob Add symlink to generic system.dts in platform folder Signed-off-by: John Williams <john.williams@petalogix.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/boot/linked_dtb.S')
-rw-r--r--arch/microblaze/boot/linked_dtb.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/microblaze/boot/linked_dtb.S b/arch/microblaze/boot/linked_dtb.S
new file mode 100644
index 0000000..cb2b537
--- /dev/null
+++ b/arch/microblaze/boot/linked_dtb.S
@@ -0,0 +1,3 @@
+.section __fdt_blob,"a"
+.incbin "arch/microblaze/boot/system.dtb"
+