Skip to content

Commit 2d130d9

Browse files
shcgitShawn Guo
authored andcommitted
ARM: i.MX27 clk: Remove unused definitions
This patch removes definitions which not used anywhere in the driver. Signed-off-by: Alexander Shiyan <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent e8e3faa commit 2d130d9

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

arch/arm/mach-imx/clk-imx27.c

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -18,36 +18,11 @@ static void __iomem *ccm __initdata;
1818
#define CCM_MPCTL1 (ccm + 0x08)
1919
#define CCM_SPCTL0 (ccm + 0x0c)
2020
#define CCM_SPCTL1 (ccm + 0x10)
21-
#define CCM_OSC26MCTL (ccm + 0x14)
2221
#define CCM_PCDR0 (ccm + 0x18)
2322
#define CCM_PCDR1 (ccm + 0x1c)
2423
#define CCM_PCCR0 (ccm + 0x20)
2524
#define CCM_PCCR1 (ccm + 0x24)
2625
#define CCM_CCSR (ccm + 0x28)
27-
#define CCM_PMCTL (ccm + 0x2c)
28-
#define CCM_PMCOUNT (ccm + 0x30)
29-
#define CCM_WKGDCTL (ccm + 0x34)
30-
31-
#define CCM_CSCR_UPDATE_DIS (1 << 31)
32-
#define CCM_CSCR_SSI2 (1 << 23)
33-
#define CCM_CSCR_SSI1 (1 << 22)
34-
#define CCM_CSCR_VPU (1 << 21)
35-
#define CCM_CSCR_MSHC (1 << 20)
36-
#define CCM_CSCR_SPLLRES (1 << 19)
37-
#define CCM_CSCR_MPLLRES (1 << 18)
38-
#define CCM_CSCR_SP (1 << 17)
39-
#define CCM_CSCR_MCU (1 << 16)
40-
#define CCM_CSCR_OSC26MDIV (1 << 4)
41-
#define CCM_CSCR_OSC26M (1 << 3)
42-
#define CCM_CSCR_FPM (1 << 2)
43-
#define CCM_CSCR_SPEN (1 << 1)
44-
#define CCM_CSCR_MPEN (1 << 0)
45-
46-
/* i.MX27 TO 2+ */
47-
#define CCM_CSCR_ARM_SRC (1 << 15)
48-
49-
#define CCM_SPCTL1_LF (1 << 15)
50-
#define CCM_SPCTL1_BRMO (1 << 6)
5126

5227
static const char *vpu_sel_clks[] = { "spll", "mpll_main2", };
5328
static const char *cpu_sel_clks[] = { "mpll_main2", "mpll", };

0 commit comments

Comments
 (0)