diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /arch/arm/mach-mx1 | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'arch/arm/mach-mx1')
-rw-r--r-- | arch/arm/mach-mx1/Makefile | 5 | ||||
-rw-r--r-- | arch/arm/mach-mx1/clock.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-mx1/mach-mx1ads.c (renamed from arch/arm/mach-mx1/mx1ads.c) | 8 | ||||
-rw-r--r-- | arch/arm/mach-mx1/mach-scb9328.c (renamed from arch/arm/mach-mx1/scb9328.c) | 4 |
4 files changed, 10 insertions, 11 deletions
diff --git a/arch/arm/mach-mx1/Makefile b/arch/arm/mach-mx1/Makefile index 7f86fe073ec6..fc2ddf82441b 100644 --- a/arch/arm/mach-mx1/Makefile +++ b/arch/arm/mach-mx1/Makefile | |||
@@ -4,11 +4,12 @@ | |||
4 | 4 | ||
5 | # Object file lists. | 5 | # Object file lists. |
6 | 6 | ||
7 | EXTRA_CFLAGS += -DIMX_NEEDS_DEPRECATED_SYMBOLS | ||
7 | obj-y += generic.o clock.o devices.o | 8 | obj-y += generic.o clock.o devices.o |
8 | 9 | ||
9 | # Support for CMOS sensor interface | 10 | # Support for CMOS sensor interface |
10 | obj-$(CONFIG_MX1_VIDEO) += ksym_mx1.o mx1_camera_fiq.o | 11 | obj-$(CONFIG_MX1_VIDEO) += ksym_mx1.o mx1_camera_fiq.o |
11 | 12 | ||
12 | # Specific board support | 13 | # Specific board support |
13 | obj-$(CONFIG_ARCH_MX1ADS) += mx1ads.o | 14 | obj-$(CONFIG_ARCH_MX1ADS) += mach-mx1ads.o |
14 | obj-$(CONFIG_MACH_SCB9328) += scb9328.o \ No newline at end of file | 15 | obj-$(CONFIG_MACH_SCB9328) += mach-scb9328.o |
diff --git a/arch/arm/mach-mx1/clock.c b/arch/arm/mach-mx1/clock.c index d1b588519ad2..6cf2d4a7511d 100644 --- a/arch/arm/mach-mx1/clock.c +++ b/arch/arm/mach-mx1/clock.c | |||
@@ -570,7 +570,6 @@ static struct clk_lookup lookups[] __initdata = { | |||
570 | int __init mx1_clocks_init(unsigned long fref) | 570 | int __init mx1_clocks_init(unsigned long fref) |
571 | { | 571 | { |
572 | unsigned int reg; | 572 | unsigned int reg; |
573 | int i; | ||
574 | 573 | ||
575 | /* disable clocks we are able to */ | 574 | /* disable clocks we are able to */ |
576 | __raw_writel(0, SCM_GCCR); | 575 | __raw_writel(0, SCM_GCCR); |
@@ -592,8 +591,7 @@ int __init mx1_clocks_init(unsigned long fref) | |||
592 | reg = (reg & CCM_CSCR_CLKO_MASK) >> CCM_CSCR_CLKO_OFFSET; | 591 | reg = (reg & CCM_CSCR_CLKO_MASK) >> CCM_CSCR_CLKO_OFFSET; |
593 | clko_clk.parent = (struct clk *)clko_clocks[reg]; | 592 | clko_clk.parent = (struct clk *)clko_clocks[reg]; |
594 | 593 | ||
595 | for (i = 0; i < ARRAY_SIZE(lookups); i++) | 594 | clkdev_add_table(lookups, ARRAY_SIZE(lookups)); |
596 | clkdev_add(&lookups[i]); | ||
597 | 595 | ||
598 | clk_enable(&hclk); | 596 | clk_enable(&hclk); |
599 | clk_enable(&fclk); | 597 | clk_enable(&fclk); |
diff --git a/arch/arm/mach-mx1/mx1ads.c b/arch/arm/mach-mx1/mach-mx1ads.c index 30f04e56fafe..51f3cfd83db2 100644 --- a/arch/arm/mach-mx1/mx1ads.c +++ b/arch/arm/mach-mx1/mach-mx1ads.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * arch/arm/mach-imx/mx1ads.c | 2 | * arch/arm/mach-imx/mach-mx1ads.c |
3 | * | 3 | * |
4 | * Initially based on: | 4 | * Initially based on: |
5 | * linux-2.6.7-imx/arch/arm/mach-imx/scb9328.c | 5 | * linux-2.6.7-imx/arch/arm/mach-imx/scb9328.c |
@@ -27,7 +27,7 @@ | |||
27 | #include <mach/hardware.h> | 27 | #include <mach/hardware.h> |
28 | #include <mach/i2c.h> | 28 | #include <mach/i2c.h> |
29 | #include <mach/imx-uart.h> | 29 | #include <mach/imx-uart.h> |
30 | #include <mach/iomux.h> | 30 | #include <mach/iomux-mx1.h> |
31 | #include <mach/irqs.h> | 31 | #include <mach/irqs.h> |
32 | 32 | ||
33 | #include "devices.h" | 33 | #include "devices.h" |
@@ -147,7 +147,7 @@ MACHINE_START(MX1ADS, "Freescale MX1ADS") | |||
147 | /* Maintainer: Sascha Hauer, Pengutronix */ | 147 | /* Maintainer: Sascha Hauer, Pengutronix */ |
148 | .phys_io = IMX_IO_PHYS, | 148 | .phys_io = IMX_IO_PHYS, |
149 | .io_pg_offst = (IMX_IO_BASE >> 18) & 0xfffc, | 149 | .io_pg_offst = (IMX_IO_BASE >> 18) & 0xfffc, |
150 | .boot_params = PHYS_OFFSET + 0x100, | 150 | .boot_params = MX1_PHYS_OFFSET + 0x100, |
151 | .map_io = mx1_map_io, | 151 | .map_io = mx1_map_io, |
152 | .init_irq = mx1_init_irq, | 152 | .init_irq = mx1_init_irq, |
153 | .timer = &mx1ads_timer, | 153 | .timer = &mx1ads_timer, |
@@ -157,7 +157,7 @@ MACHINE_END | |||
157 | MACHINE_START(MXLADS, "Freescale MXLADS") | 157 | MACHINE_START(MXLADS, "Freescale MXLADS") |
158 | .phys_io = IMX_IO_PHYS, | 158 | .phys_io = IMX_IO_PHYS, |
159 | .io_pg_offst = (IMX_IO_BASE >> 18) & 0xfffc, | 159 | .io_pg_offst = (IMX_IO_BASE >> 18) & 0xfffc, |
160 | .boot_params = PHYS_OFFSET + 0x100, | 160 | .boot_params = MX1_PHYS_OFFSET + 0x100, |
161 | .map_io = mx1_map_io, | 161 | .map_io = mx1_map_io, |
162 | .init_irq = mx1_init_irq, | 162 | .init_irq = mx1_init_irq, |
163 | .timer = &mx1ads_timer, | 163 | .timer = &mx1ads_timer, |
diff --git a/arch/arm/mach-mx1/scb9328.c b/arch/arm/mach-mx1/mach-scb9328.c index 325d98df6053..7587a7a12460 100644 --- a/arch/arm/mach-mx1/scb9328.c +++ b/arch/arm/mach-mx1/mach-scb9328.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/arch/arm/mach-mx1/scb9328.c | 2 | * linux/arch/arm/mach-mx1/mach-scb9328.c |
3 | * | 3 | * |
4 | * Copyright (c) 2004 Sascha Hauer <saschahauer@web.de> | 4 | * Copyright (c) 2004 Sascha Hauer <saschahauer@web.de> |
5 | * Copyright (c) 2006-2008 Juergen Beisert <jbeisert@netscape.net> | 5 | * Copyright (c) 2006-2008 Juergen Beisert <jbeisert@netscape.net> |
@@ -23,7 +23,7 @@ | |||
23 | #include <mach/hardware.h> | 23 | #include <mach/hardware.h> |
24 | #include <mach/irqs.h> | 24 | #include <mach/irqs.h> |
25 | #include <mach/imx-uart.h> | 25 | #include <mach/imx-uart.h> |
26 | #include <mach/iomux.h> | 26 | #include <mach/iomux-mx1.h> |
27 | 27 | ||
28 | #include "devices.h" | 28 | #include "devices.h" |
29 | 29 | ||