From mboxrd@z Thu Jan 1 00:00:00 1970 From: dinguyen at opensource.altera.com Date: Mon, 12 Oct 2015 09:59:56 -0500 Subject: [U-Boot] [PATCH 1/2] pl310: arm: fix up define typo for the share override bit Message-ID: <1444661997-23059-1-git-send-email-dinguyen@opensource.altera.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Dinh Nguyen s/L310_SHARED_ATT_OVERRIDE_ENABLE/PL310_SHARED_ATT_OVERRIDE_ENABLE Signed-off-by: Dinh Nguyen --- arch/arm/imx-common/cache.c | 2 +- arch/arm/include/asm/pl310.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/imx-common/cache.c b/arch/arm/imx-common/cache.c index 54b021c..d6b1955 100644 --- a/arch/arm/imx-common/cache.c +++ b/arch/arm/imx-common/cache.c @@ -47,7 +47,7 @@ void v7_outer_cache_enable(void) * is cleared, PL310 treats Normal Shared Non-cacheable * accesses as Cacheable no-allocate. */ - setbits_le32(&pl310->pl310_aux_ctrl, L310_SHARED_ATT_OVERRIDE_ENABLE); + setbits_le32(&pl310->pl310_aux_ctrl, PL310_SHARED_ATT_OVERRIDE_ENABLE); #if defined CONFIG_MX6SL struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; diff --git a/arch/arm/include/asm/pl310.h b/arch/arm/include/asm/pl310.h index de7650e..18b90b7 100644 --- a/arch/arm/include/asm/pl310.h +++ b/arch/arm/include/asm/pl310.h @@ -16,7 +16,7 @@ #define L2X0_STNDBY_MODE_EN (1 << 0) #define L2X0_CTRL_EN 1 -#define L310_SHARED_ATT_OVERRIDE_ENABLE (1 << 22) +#define PL310_SHARED_ATT_OVERRIDE_ENABLE (1 << 22) struct pl310_regs { u32 pl310_cache_id; -- 2.4.5