summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-04-24 14:44:27 +0000
committerStefano Babic <sbabic@denx.de>2013-04-25 21:48:21 +0200
commit1155d555d6c4c77bafb45af240b805196ee13155 (patch)
treeb769c22ad15d3e507615f0fd5d3dbe5ea2e4f481
parentfd622f239f9145cff1121297d2ac2ebf17d5ec0a (diff)
downloadu-boot-imx-1155d555d6c4c77bafb45af240b805196ee13155.zip
u-boot-imx-1155d555d6c4c77bafb45af240b805196ee13155.tar.gz
u-boot-imx-1155d555d6c4c77bafb45af240b805196ee13155.tar.bz2
mx53ard: Move register masks into imx-regs.h
imx-regs.h is more appropriate location for containing register masks. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Marek Vasut <marex@denx.de>
-rw-r--r--arch/arm/include/asm/arch-mx5/imx-regs.h2
-rw-r--r--board/freescale/mx53ard/mx53ard.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-mx5/imx-regs.h b/arch/arm/include/asm/arch-mx5/imx-regs.h
index a71cc13..6aff3be 100644
--- a/arch/arm/include/asm/arch-mx5/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx5/imx-regs.h
@@ -267,6 +267,8 @@
/* M4IF */
#define M4IF_FBPM0 0x40
#define M4IF_FIDBP 0x48
+#define M4IF_GENP_WEIM_MM_MASK 0x00000001
+#define WEIM_GCR2_MUX16_BYP_GRANT_MASK 0x00001000
/* Assuming 24MHz input clock with doubler ON */
/* MFI PDF */
diff --git a/board/freescale/mx53ard/mx53ard.c b/board/freescale/mx53ard/mx53ard.c
index 8d433a3..32c4d5f 100644
--- a/board/freescale/mx53ard/mx53ard.c
+++ b/board/freescale/mx53ard/mx53ard.c
@@ -62,8 +62,6 @@ void dram_init_banksize(void)
static void setup_iomux_nand(void)
{
u32 i, reg;
- #define M4IF_GENP_WEIM_MM_MASK 0x00000001
- #define WEIM_GCR2_MUX16_BYP_GRANT_MASK 0x00001000
reg = __raw_readl(M4IF_BASE_ADDR + 0xc);
reg &= ~M4IF_GENP_WEIM_MM_MASK;