]> git.sur5r.net Git - u-boot/commitdiff
i.MX6: get rid of redundant struct src_regs (dupe of struct src)
authorEric Nelson <eric.nelson@boundarydevices.com>
Tue, 18 Sep 2012 15:26:32 +0000 (15:26 +0000)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:09 +0000 (11:54 -0700)
Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/include/asm/arch-mx6/imx-regs.h

index 7380ffe46c544c225d7d62afc0789512147e541f..bc65767e7d8d934105dcfa6bb2f5c92a71341fe9 100644 (file)
@@ -146,7 +146,7 @@ void imx_get_mac_from_fuse(int dev_id, unsigned char *mac)
 void boot_mode_apply(unsigned cfg_val)
 {
        unsigned reg;
-       struct src_regs *psrc = (struct src_regs *)SRC_BASE_ADDR;
+       struct src *psrc = (struct src *)SRC_BASE_ADDR;
        writel(cfg_val, &psrc->gpr9);
        reg = readl(&psrc->gpr10);
        if (cfg_val)
index 869c17a88548edd9be12446cc84ddf4bc9a05926..dc737ba12721999206ceaae34dd4cae36ee06c87 100644 (file)
@@ -593,26 +593,5 @@ struct iomuxc_base_regs {
        u32     daisy[104];     /* 0x7b0..94c */
 };
 
-struct src_regs {
-       u32     scr;            /* 0x00 */
-       u32     sbmr1;          /* 0x04 */
-       u32     srsr;           /* 0x08 */
-       u32     reserved1;      /* 0x0c */
-       u32     reserved2;      /* 0x10 */
-       u32     sisr;           /* 0x14 */
-       u32     simr;           /* 0x18 */
-       u32     sbmr2;          /* 0x1c */
-       u32     gpr1;           /* 0x20 */
-       u32     gpr2;           /* 0x24 */
-       u32     gpr3;           /* 0x28 */
-       u32     gpr4;           /* 0x2c */
-       u32     gpr5;           /* 0x30 */
-       u32     gpr6;           /* 0x34 */
-       u32     gpr7;           /* 0x38 */
-       u32     gpr8;           /* 0x3c */
-       u32     gpr9;           /* 0x40 */
-       u32     gpr10;          /* 0x44 */
-};
-
 #endif /* __ASSEMBLER__*/
 #endif /* __ASM_ARCH_MX6_IMX_REGS_H__ */