summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-mx31/imx-regs.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-11-09 04:15:02 +0000
committerStefano Babic <sbabic@denx.de>2011-11-11 11:36:58 +0100
commitce93dc9bce15434989e01a6fc6d0124a8416b25d (patch)
treedd39ceaf651f8c163ef6765cd674a90d16c0e618 /arch/arm/include/asm/arch-mx31/imx-regs.h
parent94e6dd2bc51d0384422f148675efb31c5ae1a560 (diff)
downloadtalos-obmc-uboot-ce93dc9bce15434989e01a6fc6d0124a8416b25d.tar.gz
talos-obmc-uboot-ce93dc9bce15434989e01a6fc6d0124a8416b25d.zip
mx31: Use proper IO accessor for GPR register
Use proper IO accessor for GPR register. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mx31/imx-regs.h')
-rw-r--r--arch/arm/include/asm/arch-mx31/imx-regs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mx31/imx-regs.h b/arch/arm/include/asm/arch-mx31/imx-regs.h
index afdaa1ce6c..0147920e4b 100644
--- a/arch/arm/include/asm/arch-mx31/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx31/imx-regs.h
@@ -98,6 +98,12 @@ struct iim_regs {
u32 iim_scs3;
};
+struct iomuxc_regs {
+ u32 unused1;
+ u32 unused2;
+ u32 gpr;
+};
+
struct mx3_cpu_type {
u8 srev;
u32 v;
@@ -636,7 +642,6 @@ struct esdc_regs {
#define WEIM_BASE 0xb8002000
#define IOMUXC_BASE 0x43FAC000
-#define IOMUXC_GPR (IOMUXC_BASE + 0x8)
#define IOMUXC_SW_MUX_CTL(x) (IOMUXC_BASE + 0xc + (x) * 4)
#define IOMUXC_SW_PAD_CTL(x) (IOMUXC_BASE + 0x154 + (x) * 4)
OpenPOWER on IntegriCloud