2010/12/22 Michal Marek <mmarek@xxxxxxx>: > On 22.12.2010 20:57, dirk.brandewie@xxxxxxxxx wrote: >> >> From: Dirk Brandewie<dirk.brandewie@xxxxxxxxx> >> >> This patch adds support for linking device tree blob(s) into >> vmlinux. Modifies asm-generic/vmlinux.lds.h to add linking >> .dtb sections into vmlinux. To maintain compatiblity with the of/fdt >> driver code platforms MUST copy the blob to a non-init memory location >> before the kernel frees the .init.* sections in the image. >> >> Modifies scripts/Makefile.lib to add a kbuild command to >> compile DTS files to device tree blobs and a rule to create objects to >> wrap the blobs for linking. >> >> STRUCT_ALIGNMENT is defined in vmlinux.lds.h for use in the rule to >> create wrapper objects for the dtb in Makefile.lib. ÂThe >> STRUCT_ALIGN() macro in vmlinux.lds.h is modified to use the >> STRUCT_ALIGNMENT definition. >> >> The DTB's are placed on 32 byte boundries to allow parsing the blob >> with driver/of/fdt.c during early boot without having to copy the blob >> to get the structure alignment GCC expects. >> >> A DTB is linked in by adding the DTB object to the list of objects to >> be linked into vmlinux in the archtecture specific Makefile using >> Â Âobj-y += foo.dtb.o >> >> Signed-off-by: Dirk Brandewie<dirk.brandewie@xxxxxxxxx> > > Hi, > > you can add > Acked-by: Michal Marek <mmarek@xxxxxxx> > but I thing this series should go through the tip tree, as your primary > target seems to be x86 and patch 2/4 depends on the ce4100 code that is only > in tip. If the two lines +# device tree blob +obj-$(CONFIG_X86_INTEL_CE) += ce4100.dtb.o are removed, patch 2/4 no longer depends on the ce4100 code. The summary and description for that patch don't mention anything about ce4100 anyway. Gr{oetje,eeting}s, Â Â Â Â Â Â Â Â Â Â Â Â Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. Â Â Â Â Â Â Â Â Â Â Â Â Â ÂÂ ÂÂ -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html