Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751882Ab0LVT5o (ORCPT ); Wed, 22 Dec 2010 14:57:44 -0500 Received: from mail-iw0-f174.google.com ([209.85.214.174]:55396 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750943Ab0LVT5n (ORCPT ); Wed, 22 Dec 2010 14:57:43 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=UPolkPQ412FgIjnoaaayDyqlt3JuIcNN+RIQ7I7mMeT3VWfef/0ilXRUVbmFYTKF6B EVNzarAyPrteiwpQb/oVs+gHf4YuSvW+cA2vgZ+PYcrxUHl0UPkGi99yd/eNdsPfBuE2 szl8RkMG4DEdwhzWgi9hqwkhySGnOGo/BAkNQ= From: dirk.brandewie@gmail.com To: linux-kernel@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org, linuxppc-dev@lists.ozlabs.org, microblaze-uclinux@itee.uq.edu.au, linux-arch@vger.kernel.org, mmarek@suse.cz, dirk.brandewie@gmail.com, linux-kbuild@vger.kernel.org Subject: [PATCH 0/4] V3 Add ability to link device blob(s) into vmlinux Date: Wed, 22 Dec 2010 11:57:25 -0800 Message-Id: <1293047849-26078-1-git-send-email-dirk.brandewie@gmail.com> X-Mailer: git-send-email 1.7.2.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2109 Lines: 64 From: Dirk Brandewie This patch set adds the ability to link device tree blobs into vmlinux. Patch 1 implements the changes to include/asm-generic/vmlinux.lds.h and adds a generic rule for generating DTB objects to be linked vmlinux. Patch 2 implements linking a DTB into an x86 image. Patch 3-4 move {powerpc,microblaze}/boot/Makefile to use the dtc rule in patch 1. This patch set has been tested on x86. Powerpc and Microblaze have been compile tested with and without patch 3 and 4 applied. Changes from V1: Documentation added for dtc command in Makefile.lib to Documentation/kbuild/makefiles.txt Separate DTB_ALIGNMENT define removed. FORCE removed from dtc rule. Removed hardcoded path to dts files from dtc command. Moved %.dtb: %.dts rule to arch specific makefiles. Patch for adding kernel command line option to pass in dtb_compat string dropped from this set will be submitted seperately. Changes from V2: Rule to create assembly wrapper for blob changed to use Sam Ravnborgs suggested implementation. Rules in architecture specific Makefiles changed to use the cmd function instead of the if_changed function. Changes from V3: Cosmetic fix of DTC quiet command Dirk Brandewie (4): of: Add support for linking device tree blobs into vmlinux x86/of: Add building device tree blob(s) into image. of/powerpc: Use generic rule to build dtb's microblaze/of: Use generic rule to build dtb's Documentation/kbuild/makefiles.txt | 15 +++++++++++++++ arch/microblaze/boot/Makefile | 12 +++--------- arch/powerpc/boot/Makefile | 8 +++----- arch/x86/platform/ce4100/Makefile | 10 ++++++++++ include/asm-generic/vmlinux.lds.h | 13 +++++++++++-- scripts/Makefile.lib | 23 +++++++++++++++++++++++ 6 files changed, 65 insertions(+), 16 deletions(-) -- 1.7.2.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/