From patchwork Sat Feb 15 13:36:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Zyngier X-Patchwork-Id: 24668 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f72.google.com (mail-oa0-f72.google.com [209.85.219.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AD1A020967 for ; Sat, 15 Feb 2014 14:11:29 +0000 (UTC) Received: by mail-oa0-f72.google.com with SMTP id i4sf55356441oah.11 for ; Sat, 15 Feb 2014 06:11:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:cc:subject:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=VGYFEo8XJ/36LSd4BWm31Z0Hhs7Td/RtNASn1X39Pgo=; b=NjcSHkvwk+fvP9a4uulFfmmDbJOtCB5cPVDrEhs2hnefczy4ANdlOegUcuM6RwKN6d nKfxHUbCo76Jr2sX3jmMSLGqSD42GWPPt7uW5QraGGrAj7e77HLgFzH7aEImbbuODcHi 6EsdCS/cXxoXzCrCygUqLySqLedVbDQ/JwyCMosKx92Lb7z6zfqdsnfC1Uu/MA4xQNiF bky5thPWaDm2pESBwIOL7mqe7RawRvxeX1JpgK5Tgs9V+I7N4E3nLtgRTZBQyVzY4OLS Sm5aISm0MhFkeXnLcZaITbi230aakHxzLFC1GvfwsfxzURitxnZrFQLUczwFs/7Qs0qj dtdg== X-Gm-Message-State: ALoCoQlidPCcMO1GkiQgIC1/KIv/n029o0fjq0TDj9OjKCtLGKsTWzTyUPqD8Lgl9LSgKVFIK5J9 X-Received: by 10.182.108.136 with SMTP id hk8mr6018973obb.11.1392473488465; Sat, 15 Feb 2014 06:11:28 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.34.235 with SMTP id l98ls375508qgl.90.gmail; Sat, 15 Feb 2014 06:11:28 -0800 (PST) X-Received: by 10.52.156.232 with SMTP id wh8mr4726013vdb.23.1392473488367; Sat, 15 Feb 2014 06:11:28 -0800 (PST) Received: from mail-ve0-f173.google.com (mail-ve0-f173.google.com [209.85.128.173]) by mx.google.com with ESMTPS id rl1si2932593vcb.74.2014.02.15.06.11.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 15 Feb 2014 06:11:28 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.173; Received: by mail-ve0-f173.google.com with SMTP id jw12so3376308veb.18 for ; Sat, 15 Feb 2014 06:11:28 -0800 (PST) X-Received: by 10.52.117.115 with SMTP id kd19mr7966363vdb.15.1392473488105; Sat, 15 Feb 2014 06:11:28 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp19869vcz; Sat, 15 Feb 2014 06:11:26 -0800 (PST) X-Received: by 10.14.180.71 with SMTP id i47mr15633265eem.50.1392473485484; Sat, 15 Feb 2014 06:11:25 -0800 (PST) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id h9si18647093eev.0.2014.02.15.06.11.24 for ; Sat, 15 Feb 2014 06:11:25 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E4B954B6F7; Sat, 15 Feb 2014 15:11:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 cxuo5-GEbamh; Sat, 15 Feb 2014 15:11:22 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 485954B6FC; Sat, 15 Feb 2014 15:11:20 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4CC054B6F7 for ; Sat, 15 Feb 2014 15:11:15 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 LZoTzRR6SCLw for ; Sat, 15 Feb 2014 15:11:13 +0100 (CET) X-Greylist: delayed 2059 seconds by postgrey-1.27 at theia; Sat, 15 Feb 2014 15:11:10 CET 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 inca-roads.misterjones.org (inca-roads.misterjones.org [213.251.177.50]) by theia.denx.de (Postfix) with ESMTPS id 130924B6F3 for ; Sat, 15 Feb 2014 15:11:10 +0100 (CET) Received: from [176.250.132.24] (helo=why.wild-wind.fr.eu.org) by cheepnis.misterjones.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA256:128) (Exim 4.80) (envelope-from ) id 1WEfQN-00038M-54; Sat, 15 Feb 2014 14:36:55 +0100 From: Marc Zyngier To: u-boot@lists.denx.de, linux-sunxi@googlegroups.com Date: Sat, 15 Feb 2014 13:36:35 +0000 Message-Id: <1392471397-2158-12-git-send-email-marc.zyngier@arm.com> X-Mailer: git-send-email 1.8.5.1 In-Reply-To: <1392471397-2158-1-git-send-email-marc.zyngier@arm.com> References: <1392471397-2158-1-git-send-email-marc.zyngier@arm.com> X-SA-Exim-Connect-IP: 176.250.132.24 X-SA-Exim-Rcpt-To: u-boot@lists.denx.de, linux-sunxi@googlegroups.com, maxime.ripard@free-electrons.com, ijc@hellion.org.uk, andre@andrep.de, henrik@henriknordstrom.net, maz@misterjones.org X-SA-Exim-Mail-From: marc.zyngier@arm.com X-SA-Exim-Scanned: No (on cheepnis.misterjones.org); SAEximRunCond expanded to false Cc: Andre Przywara , maz@misterjones.org, Ian Campbell Subject: [U-Boot] [PATCH v3 11/13] sunxi: fix SRAM_B/SRAM_D memory map X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: marc.zyngier@arm.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Move the B and D SRAM bank to their actual location (or at least where the documentation pretends they are). Signed-off-by: Marc Zyngier --- arch/arm/include/asm/arch-sunxi/cpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-sunxi/cpu.h b/arch/arm/include/asm/arch-sunxi/cpu.h index 17facc3..aea9a95 100644 --- a/arch/arm/include/asm/arch-sunxi/cpu.h +++ b/arch/arm/include/asm/arch-sunxi/cpu.h @@ -31,8 +31,8 @@ #define SUNXI_SRAM_A2_BASE 0x00004000 /* 16 kiB */ #define SUNXI_SRAM_A3_BASE 0x00008000 /* 13 kiB */ #define SUNXI_SRAM_A4_BASE 0x0000b400 /* 3 kiB */ -#define SUNXI_SRAM_D_BASE 0x01c00000 -#define SUNXI_SRAM_B_BASE 0x01c00000 /* 64 kiB (secure) */ +#define SUNXI_SRAM_D_BASE 0x00010000 /* 4 kiB */ +#define SUNXI_SRAM_B_BASE 0x00020000 /* 64 kiB (secure) */ #define SUNXI_SRAMC_BASE 0x01c00000 #define SUNXI_DRAMC_BASE 0x01c01000