From patchwork Tue Aug 30 07:22:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 74949 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp2001834qga; Tue, 30 Aug 2016 00:21:07 -0700 (PDT) X-Received: by 10.194.20.65 with SMTP id l1mr2034802wje.71.1472541667181; Tue, 30 Aug 2016 00:21:07 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id n76si3148084wmd.127.2016.08.30.00.21.06; Tue, 30 Aug 2016 00:21:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DB1AFA7574; Tue, 30 Aug 2016 09:21:01 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EOVOM9amoxI3; Tue, 30 Aug 2016 09:21:01 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 6C7E2A756E; Tue, 30 Aug 2016 09:20:56 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0158FA751E for ; Tue, 30 Aug 2016 09:20:51 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0jCOE3vAxnOE for ; Tue, 30 Aug 2016 09:20:50 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from conuserg-12.nifty.com (conuserg-12.nifty.com [210.131.2.79]) by theia.denx.de (Postfix) with ESMTPS id 40AC2A7528 for ; Tue, 30 Aug 2016 09:20:46 +0200 (CEST) Received: from beagle.diag.org (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id u7U7KFsg016675; Tue, 30 Aug 2016 16:20:18 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com u7U7KFsg016675 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1472541618; bh=/Vc7VmiDoqbj1Dpqu3oc1tNxMgV8LCr3BmDgUWP2Y6U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N1rF3mqc0EVQT3JdBRQ6Dk3CURvNSlChJK//f48PYsn8wA11XgV+HTlIslM/HEl9x 2w+VBCzzPLm/ZbNlvsj4a9/hx5oUZaCq80OyMWpRJXfsohVgWcdr8LP6Qq3soCZc3x +gUXFaIBVQMweAHFEXHn1EJhDqrwkwh9/4T9qxvD2srMYL4/6bxuTLhEn2ob2HIZFU qwjOAaD17x5vX4gtqoy+a1saTQhksGGssEdUwgEjR0H23qpV55r7gXHguuYb/AkYSj syKfu8czeOqZKWIw0lDUr51vUetK6KzdUst/QAzzstwRLRtvduXqwG1qMBHygdmgUJ zMJy7tYXdg4lA== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Tue, 30 Aug 2016 16:22:21 +0900 Message-Id: <1472541743-18717-3-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1472541743-18717-1-git-send-email-yamada.masahiro@socionext.com> References: <1472541743-18717-1-git-send-email-yamada.masahiro@socionext.com> Cc: Wang Dongsheng Subject: [U-Boot] [PATCH v2 2/4] ARM: armv7: guard memory reserve for PSCI with #ifdef CONFIG_ARMV7_PSCI X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" If CONFIG_ARMV7_NONSEC is enabled, the linker script requires CONFIG_ARMV7_PSCI_NR_CPUS regardless of CONFIG_ARMV7_PSCI. Signed-off-by: Masahiro Yamada --- Changes in v2: None arch/arm/cpu/u-boot.lds | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/arch/arm/cpu/u-boot.lds b/arch/arm/cpu/u-boot.lds index 36c9fd0..0a5fae6 100644 --- a/arch/arm/cpu/u-boot.lds +++ b/arch/arm/cpu/u-boot.lds @@ -83,10 +83,10 @@ SECTIONS #endif { KEEP(*(.__secure_stack_start)) - +#ifdef CONFIG_ARMV7_PSCI /* Skip addreses for stack */ . = . + CONFIG_ARMV7_PSCI_NR_CPUS * ARM_PSCI_STACK_SIZE; - +#endif /* Align end of stack section to page boundary */ . = ALIGN(CONSTANT(COMMONPAGESIZE));