From patchwork Fri Dec 7 21:06:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Catalin Marinas X-Patchwork-Id: 1851731 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id DAD38DF2EE for ; Fri, 7 Dec 2012 21:10:47 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Th58P-0002gM-RJ; Fri, 07 Dec 2012 21:07:01 +0000 Received: from service87.mimecast.com ([91.220.42.44]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Th589-0002dn-AM for linux-arm-kernel@lists.infradead.org; Fri, 07 Dec 2012 21:06:47 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Fri, 07 Dec 2012 21:06:43 +0000 Received: from e102109-lin.cambridge.arm.com ([10.1.255.212]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Fri, 7 Dec 2012 21:06:42 +0000 From: Catalin Marinas To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/7] arm64: SoC infrastructure preparation Date: Fri, 7 Dec 2012 21:06:28 +0000 Message-Id: <1354914392-9634-4-git-send-email-catalin.marinas@arm.com> X-Mailer: git-send-email 1.7.12.3 In-Reply-To: <1354914392-9634-1-git-send-email-catalin.marinas@arm.com> References: <1354914392-9634-1-git-send-email-catalin.marinas@arm.com> X-OriginalArrivalTime: 07 Dec 2012 21:06:42.0138 (UTC) FILETIME=[C1A62BA0:01CDD4BE] X-MC-Unique: 112120721064301601 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121207_160645_611849_092F87D5 X-CRM114-Status: GOOD ( 11.19 ) X-Spam-Score: -2.6 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [91.220.42.44 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This patch adds the necessary Kconfig and Makefile modifications together with skeleton.dtsi for SoC support. Signed-off-by: Catalin Marinas --- arch/arm64/Kconfig | 4 +++- arch/arm64/Makefile | 3 ++- arch/arm64/boot/dts/skeleton.dtsi | 13 +++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 arch/arm64/boot/dts/skeleton.dtsi create mode 100644 arch/arm64/platforms/Kconfig create mode 100644 arch/arm64/platforms/Makefile diff --git a/arch/arm64/platforms/Kconfig b/arch/arm64/platforms/Kconfig new file mode 100644 index 0000000..e69de29 diff --git a/arch/arm64/platforms/Makefile b/arch/arm64/platforms/Makefile new file mode 100644 index 0000000..e69de29 diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 0f87a49..e58a35a 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -95,7 +95,9 @@ source "init/Kconfig" source "kernel/Kconfig.freezer" -menu "System Type" +menu "Platform selection" + +source "arch/arm64/platforms/Kconfig" endmenu diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index 64089bc..ddadd27 100644 --- a/arch/arm64/Makefile +++ b/arch/arm64/Makefile @@ -36,7 +36,8 @@ TEXT_OFFSET := 0x00080000 export TEXT_OFFSET GZFLAGS -core-y += arch/arm64/kernel/ arch/arm64/mm/ +core-y += arch/arm64/kernel/ arch/arm64/mm/ \ + arch/arm64/platforms/ libs-y := arch/arm64/lib/ $(libs-y) libs-y += $(LIBGCC) diff --git a/arch/arm64/boot/dts/skeleton.dtsi b/arch/arm64/boot/dts/skeleton.dtsi new file mode 100644 index 0000000..38ead82 --- /dev/null +++ b/arch/arm64/boot/dts/skeleton.dtsi @@ -0,0 +1,13 @@ +/* + * Skeleton device tree; the bare minimum needed to boot; just include and + * add a compatible value. The bootloader will typically populate the memory + * node. + */ + +/ { + #address-cells = <2>; + #size-cells = <1>; + chosen { }; + aliases { }; + memory { device_type = "memory"; reg = <0 0 0>; }; +};