From patchwork Mon Aug 25 12:37:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dinguyen@opensource.altera.com X-Patchwork-Id: 4774461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 21AF8C0338 for ; Mon, 25 Aug 2014 12:44:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4C22E2010F for ; Mon, 25 Aug 2014 12:44:32 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3D5642010C for ; Mon, 25 Aug 2014 12:44:31 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XLtaU-0006Ww-Cf; Mon, 25 Aug 2014 12:41:30 +0000 Received: from mail-bn1lp0140.outbound.protection.outlook.com ([207.46.163.140] helo=na01-bn1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XLtaB-0006Mf-8z for linux-arm-kernel@lists.infradead.org; Mon, 25 Aug 2014 12:41:11 +0000 Received: from linux-builds1.altera.com (64.129.157.38) by BN3PR0301MB1188.namprd03.prod.outlook.com (25.160.156.15) with Microsoft SMTP Server (TLS) id 15.0.1015.19; Mon, 25 Aug 2014 12:40:52 +0000 From: To: , , , , , Subject: [PATCHv3 3/3] ARM: dts: socfpga: memreserve first 4KB for future system use Date: Mon, 25 Aug 2014 07:37:11 -0500 Message-ID: <1408970231-4316-4-git-send-email-dinguyen@opensource.altera.com> X-Mailer: git-send-email 2.0.3 In-Reply-To: <1408970231-4316-1-git-send-email-dinguyen@opensource.altera.com> References: <1408970231-4316-1-git-send-email-dinguyen@opensource.altera.com> MIME-Version: 1.0 X-Originating-IP: [64.129.157.38] X-ClientProxiedBy: DM2PR04CA035.namprd04.prod.outlook.com (10.141.154.153) To BN3PR0301MB1188.namprd03.prod.outlook.com (25.160.156.15) X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;UriScan:; X-Forefront-PRVS: 03142412E2 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(6009001)(199003)(189002)(77982001)(64706001)(88136002)(87976001)(50226001)(48376002)(83072002)(85852003)(85306004)(4396001)(89996001)(107046002)(69596002)(106356001)(104166001)(229853001)(81542001)(81342001)(19580395003)(19580405001)(62966002)(66066001)(81156004)(47776003)(80022001)(20776003)(83322001)(79102001)(46102001)(50986999)(99396002)(76176999)(101416001)(105586002)(95666004)(33646002)(87286001)(76482001)(74502001)(77156001)(2201001)(92566001)(53416004)(93916002)(86362001)(74662001)(31966008)(102836001)(92726001)(50466002)(86152002)(77096002)(21056001)(42186005)(90102001); DIR:OUT; SFP:; SCL:1; SRVR:BN3PR0301MB1188; H:linux-builds1.altera.com; FPR:; MLV:sfv; PTR:InfoNoRecords; A:0; MX:1; LANG:en; X-OriginatorOrg: opensource.altera.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140825_054111_380466_5B4C0698 X-CRM114-Status: UNSURE ( 6.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) Cc: devicetree@vger.kernel.org, Dinh Nguyen , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Dinh Nguyen This patch adds a /memreserve/ section to reserve the first 4K for future use by the system. One possible use-case is trampoline code used to bring secondary cores online. Signed-off-by: Dinh Nguyen Acked-by: Pavel Machek --- v3: Update commit message based on Mark Rutland's comment v2: Add a comment in the dts files --- arch/arm/boot/dts/socfpga_arria5.dtsi | 2 ++ arch/arm/boot/dts/socfpga_cyclone5.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/socfpga_arria5.dtsi b/arch/arm/boot/dts/socfpga_arria5.dtsi index 468fc4c..03e8268 100644 --- a/arch/arm/boot/dts/socfpga_arria5.dtsi +++ b/arch/arm/boot/dts/socfpga_arria5.dtsi @@ -15,6 +15,8 @@ */ /dts-v1/; +/* First 4KB has trampoline code for secondary cores. */ +/memreserve/ 0x00000000 0x0001000; #include "socfpga.dtsi" / { diff --git a/arch/arm/boot/dts/socfpga_cyclone5.dtsi b/arch/arm/boot/dts/socfpga_cyclone5.dtsi index 33cad8b..28c05e7 100644 --- a/arch/arm/boot/dts/socfpga_cyclone5.dtsi +++ b/arch/arm/boot/dts/socfpga_cyclone5.dtsi @@ -16,6 +16,8 @@ */ /dts-v1/; +/* First 4KB has trampoline code for secondary cores. */ +/memreserve/ 0x00000000 0x0001000; #include "socfpga.dtsi" / {