From patchwork Wed Jun 7 00:47:15 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 772113 X-Patchwork-Delegate: jagannadh.teki@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3wj91C4ypPz9s82 for ; Wed, 7 Jun 2017 10:49:19 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 5958BC21C70; Wed, 7 Jun 2017 00:48:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 9B6A1C21C44; Wed, 7 Jun 2017 00:48:25 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C66CFC21C81; Wed, 7 Jun 2017 00:48:04 +0000 (UTC) Received: from nov-007-i459.relay.mailchannels.net (nov-007-i459.relay.mailchannels.net [46.232.183.13]) by lists.denx.de (Postfix) with ESMTPS id E6795C21C92 for ; Wed, 7 Jun 2017 00:48:02 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id B29FF7C6ADB; Wed, 7 Jun 2017 00:47:57 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.128.4]) (Authenticated sender: lmn-TZDUIOWCRQMW) by relay.mailchannels.net (Postfix) with ESMTPA id 5DD947C6A0F; Wed, 7 Jun 2017 00:47:56 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.20.88.133]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.9.4); Wed, 07 Jun 2017 00:47:57 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Name-Arch: 3651fe0341813d07_1496796477391_3083462655 X-MC-Loop-Signature: 1496796477391:952434241 X-MC-Ingress-Time: 1496796477391 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 9B5825150A; Wed, 7 Jun 2017 00:47:52 +0000 (UTC) From: Icenowy Zheng To: Jagan Teki , Maxime Ripard , Chen-Yu Tsai Date: Wed, 7 Jun 2017 08:47:15 +0800 Message-Id: <20170607004721.24194-3-icenowy@aosc.io> In-Reply-To: <20170607004721.24194-1-icenowy@aosc.io> References: <20170607004721.24194-1-icenowy@aosc.io> Cc: u-boot@lists.denx.de, linux-sunxi@googlegroups.com, Icenowy Zheng Subject: [U-Boot] [RFC PATCH 2/8] sunxi: add configuration of secure SRAM for A83T X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" A83T has some secure SRAM that can be used to place the PSCI code. Add the configuration of them. Signed-off-by: Icenowy Zheng Reviewed-by: Chen-Yu Tsai --- include/configs/sun8i.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sun8i.h b/include/configs/sun8i.h index 47f2813240..c6ba2a0c87 100644 --- a/include/configs/sun8i.h +++ b/include/configs/sun8i.h @@ -21,6 +21,7 @@ #define CONFIG_SUNXI_USB_PHYS 4 #elif defined CONFIG_MACH_SUN8I_A83T #define CONFIG_SUNXI_USB_PHYS 3 + #define CONFIG_ARMV7_SECURE_BASE SUNXI_SRAM_B_BASE #elif defined CONFIG_MACH_SUN8I_V3S #define CONFIG_SUNXI_USB_PHYS 1 #else