From patchwork Tue Mar 29 16:28:35 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Ceresoli X-Patchwork-Id: 88811 X-Patchwork-Delegate: s-paulraj@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 48EB0B6F10 for ; Wed, 30 Mar 2011 03:30:49 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id EE72F280B3; Tue, 29 Mar 2011 18:30:46 +0200 (CEST) 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 8QSVxqKwi9gX; Tue, 29 Mar 2011 18:30:46 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9FE252808F; Tue, 29 Mar 2011 18:30:43 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id DE62328091 for ; Tue, 29 Mar 2011 18:30:41 +0200 (CEST) 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 nKiPosEMgoop for ; Tue, 29 Mar 2011 18:30:41 +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 adserver.comelit.it (mail.comelit.it [217.56.59.218]) by theia.denx.de (Postfix) with ESMTP id ACC782808F for ; Tue, 29 Mar 2011 18:30:32 +0200 (CEST) Received: from com-exc-01.comelit.it ([172.24.0.31]) by adserver.comelit.it with Microsoft SMTPSVC(6.0.3790.1830); Tue, 29 Mar 2011 18:30:15 +0200 Received: from wallace.comelit.it ([172.20.0.53]) by com-exc-01.comelit.it with Microsoft SMTPSVC(6.0.3790.4675); Tue, 29 Mar 2011 18:29:33 +0200 From: Luca Ceresoli To: u-boot@lists.denx.de Date: Tue, 29 Mar 2011 18:28:35 +0200 Message-Id: <1301416116-5519-4-git-send-email-luca.ceresoli@comelit.it> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1301416116-5519-1-git-send-email-luca.ceresoli@comelit.it> References: <1301416116-5519-1-git-send-email-luca.ceresoli@comelit.it> X-OriginalArrivalTime: 29 Mar 2011 16:29:33.0218 (UTC) FILETIME=[7C571820:01CBEE2E] X-TM-AS-Product-Ver: SMEX-8.6.0.1168-6.500.1024-18040.005 X-TM-AS-Result: No--1.768200-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Cc: Luca Ceresoli Subject: [U-Boot] [PATCH v3 3/4] ARMV7: OMAP3: boot_flash_env_addr should not be volatile X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion 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 Signed-off-by: Luca Ceresoli Cc: Wolfgang Denk Cc: Albert Aribaud Cc: Sandeep Paulraj --- Changes in v2: - this patch is new in v2. Changes in v3: none. arch/arm/cpu/armv7/omap3/mem.c | 2 +- include/configs/am3517_evm.h | 2 +- include/configs/omap3_evm.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/armv7/omap3/mem.c b/arch/arm/cpu/armv7/omap3/mem.c index bd914b0..e9de05d 100644 --- a/arch/arm/cpu/armv7/omap3/mem.c +++ b/arch/arm/cpu/armv7/omap3/mem.c @@ -39,7 +39,7 @@ unsigned int boot_flash_base; unsigned int boot_flash_off; unsigned int boot_flash_sec; unsigned int boot_flash_type; -volatile unsigned int boot_flash_env_addr; +unsigned int boot_flash_env_addr; struct gpmc *gpmc_cfg; diff --git a/include/configs/am3517_evm.h b/include/configs/am3517_evm.h index 70e8f07..bc2e8bb 100644 --- a/include/configs/am3517_evm.h +++ b/include/configs/am3517_evm.h @@ -325,7 +325,7 @@ #ifndef __ASSEMBLY__ extern unsigned int boot_flash_base; -extern volatile unsigned int boot_flash_env_addr; +extern unsigned int boot_flash_env_addr; extern unsigned int boot_flash_off; extern unsigned int boot_flash_sec; extern unsigned int boot_flash_type; diff --git a/include/configs/omap3_evm.h b/include/configs/omap3_evm.h index 5bdb3fd..570e794 100644 --- a/include/configs/omap3_evm.h +++ b/include/configs/omap3_evm.h @@ -320,7 +320,7 @@ #ifndef __ASSEMBLY__ extern unsigned int boot_flash_base; -extern volatile unsigned int boot_flash_env_addr; +extern unsigned int boot_flash_env_addr; extern unsigned int boot_flash_off; extern unsigned int boot_flash_sec; extern unsigned int boot_flash_type;