diff options
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/kernel/smp.c | 2 | ||||
-rw-r--r-- | arch/arm/kernel/traps.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/jornada720.c | 27 | ||||
-rw-r--r-- | arch/arm/mach-sa1100/jornada720_ssp.c | 2 | ||||
-rw-r--r-- | include/asm-arm/arch-mxc/uncompress.h | 3 | ||||
-rw-r--r-- | sound/soc/pxa/pxa2xx-ac97.c | 4 |
7 files changed, 21 insertions, 20 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 85016313bd11..c8569e862c6b 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -341,6 +341,7 @@ config ARCH_PXA | |||
341 | select ARCH_MTD_XIP | 341 | select ARCH_MTD_XIP |
342 | select GENERIC_GPIO | 342 | select GENERIC_GPIO |
343 | select GENERIC_TIME | 343 | select GENERIC_TIME |
344 | select GENERIC_CLOCKEVENTS | ||
344 | help | 345 | help |
345 | Support for Intel's PXA2XX processor line. | 346 | Support for Intel's PXA2XX processor line. |
346 | 347 | ||
diff --git a/arch/arm/kernel/smp.c b/arch/arm/kernel/smp.c index 1b76d87fa335..9746e5293249 100644 --- a/arch/arm/kernel/smp.c +++ b/arch/arm/kernel/smp.c | |||
@@ -630,7 +630,7 @@ void smp_send_stop(void) | |||
630 | /* | 630 | /* |
631 | * not supported here | 631 | * not supported here |
632 | */ | 632 | */ |
633 | int __init setup_profiling_timer(unsigned int multiplier) | 633 | int setup_profiling_timer(unsigned int multiplier) |
634 | { | 634 | { |
635 | return -EINVAL; | 635 | return -EINVAL; |
636 | } | 636 | } |
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index f2114bcf09d5..8ad47619c079 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c | |||
@@ -352,10 +352,8 @@ asmlinkage void __exception do_undefinstr(struct pt_regs *regs) | |||
352 | 352 | ||
353 | asmlinkage void do_unexp_fiq (struct pt_regs *regs) | 353 | asmlinkage void do_unexp_fiq (struct pt_regs *regs) |
354 | { | 354 | { |
355 | #ifndef CONFIG_IGNORE_FIQ | ||
356 | printk("Hmm. Unexpected FIQ received, but trying to continue\n"); | 355 | printk("Hmm. Unexpected FIQ received, but trying to continue\n"); |
357 | printk("You may have a hardware problem...\n"); | 356 | printk("You may have a hardware problem...\n"); |
358 | #endif | ||
359 | } | 357 | } |
360 | 358 | ||
361 | /* | 359 | /* |
diff --git a/arch/arm/mach-sa1100/jornada720.c b/arch/arm/mach-sa1100/jornada720.c index 64067cd58d36..52ac37d1e23a 100644 --- a/arch/arm/mach-sa1100/jornada720.c +++ b/arch/arm/mach-sa1100/jornada720.c | |||
@@ -3,6 +3,7 @@ | |||
3 | * | 3 | * |
4 | * HP Jornada720 init code | 4 | * HP Jornada720 init code |
5 | * | 5 | * |
6 | * Copyright (C) 2007 Kristoffer Ericson <Kristoffer.Ericson@gmail.com> | ||
6 | * Copyright (C) 2006 Filip Zyzniewski <filip.zyzniewski@tefnet.pl> | 7 | * Copyright (C) 2006 Filip Zyzniewski <filip.zyzniewski@tefnet.pl> |
7 | * Copyright (C) 2005 Michael Gernoth <michael@gernoth.net> | 8 | * Copyright (C) 2005 Michael Gernoth <michael@gernoth.net> |
8 | * | 9 | * |
@@ -220,14 +221,16 @@ static struct platform_device sa1111_device = { | |||
220 | .resource = sa1111_resources, | 221 | .resource = sa1111_resources, |
221 | }; | 222 | }; |
222 | 223 | ||
223 | static struct platform_device jornada720_mcu_device = { | 224 | static struct platform_device jornada_ssp_device = { |
224 | .name = "jornada720_mcu", | 225 | .name = "jornada_ssp", |
225 | .id = -1, | 226 | .id = -1, |
226 | }; | 227 | }; |
227 | 228 | ||
228 | static struct platform_device *devices[] __initdata = { | 229 | static struct platform_device *devices[] __initdata = { |
229 | &sa1111_device, | 230 | &sa1111_device, |
230 | &jornada720_mcu_device, | 231 | #ifdef CONFIG_SA1100_JORNADA720_SSP |
232 | &jornada_ssp_device, | ||
233 | #endif | ||
231 | &s1d13xxxfb_device, | 234 | &s1d13xxxfb_device, |
232 | }; | 235 | }; |
233 | 236 | ||
@@ -236,19 +239,19 @@ static int __init jornada720_init(void) | |||
236 | int ret = -ENODEV; | 239 | int ret = -ENODEV; |
237 | 240 | ||
238 | if (machine_is_jornada720()) { | 241 | if (machine_is_jornada720()) { |
239 | GPDR |= GPIO_GPIO20; | 242 | /* we want to use gpio20 as input to drive the clock of our uart 3 */ |
240 | /* oscillator setup (line 116 of HP's doc) */ | 243 | GPDR |= GPIO_GPIO20; /* Clear gpio20 pin as input */ |
241 | TUCR = TUCR_VAL; | 244 | TUCR = TUCR_VAL; |
242 | /* resetting SA1111 (line 118 of HP's doc) */ | 245 | GPSR = GPIO_GPIO20; /* start gpio20 pin */ |
243 | GPSR = GPIO_GPIO20; | ||
244 | udelay(1); | 246 | udelay(1); |
245 | GPCR = GPIO_GPIO20; | 247 | GPCR = GPIO_GPIO20; /* stop gpio20 */ |
246 | udelay(1); | 248 | udelay(1); |
247 | GPSR = GPIO_GPIO20; | 249 | GPSR = GPIO_GPIO20; /* restart gpio20 */ |
248 | udelay(20); | 250 | udelay(20); /* give it some time to restart */ |
249 | 251 | ||
250 | ret = platform_add_devices(devices, ARRAY_SIZE(devices)); | 252 | ret = platform_add_devices(devices, ARRAY_SIZE(devices)); |
251 | } | 253 | } |
254 | |||
252 | return ret; | 255 | return ret; |
253 | } | 256 | } |
254 | 257 | ||
@@ -345,7 +348,7 @@ static void __init jornada720_mach_init(void) | |||
345 | } | 348 | } |
346 | 349 | ||
347 | MACHINE_START(JORNADA720, "HP Jornada 720") | 350 | MACHINE_START(JORNADA720, "HP Jornada 720") |
348 | /* Maintainer: Michael Gernoth <michael@gernoth.net> */ | 351 | /* Maintainer: Kristoffer Ericson <Kristoffer.Ericson@gmail.com> */ |
349 | .phys_io = 0x80000000, | 352 | .phys_io = 0x80000000, |
350 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, | 353 | .io_pg_offst = ((0xf8000000) >> 18) & 0xfffc, |
351 | .boot_params = 0xc0000100, | 354 | .boot_params = 0xc0000100, |
diff --git a/arch/arm/mach-sa1100/jornada720_ssp.c b/arch/arm/mach-sa1100/jornada720_ssp.c index 0a45e1ac8ad6..395c39bed7d8 100644 --- a/arch/arm/mach-sa1100/jornada720_ssp.c +++ b/arch/arm/mach-sa1100/jornada720_ssp.c | |||
@@ -161,7 +161,7 @@ static int __init jornada_ssp_probe(struct platform_device *dev) | |||
161 | ret = jornada_ssp_inout(GETBRIGHTNESS); | 161 | ret = jornada_ssp_inout(GETBRIGHTNESS); |
162 | 162 | ||
163 | /* seems like it worked, just feed it with TxDummy to get rid of data */ | 163 | /* seems like it worked, just feed it with TxDummy to get rid of data */ |
164 | if (ret == TxDummy) | 164 | if (ret == TXDUMMY) |
165 | jornada_ssp_inout(TXDUMMY); | 165 | jornada_ssp_inout(TXDUMMY); |
166 | 166 | ||
167 | jornada_ssp_end(); | 167 | jornada_ssp_end(); |
diff --git a/include/asm-arm/arch-mxc/uncompress.h b/include/asm-arm/arch-mxc/uncompress.h index ec5787d0e78c..42cc0cb3fefd 100644 --- a/include/asm-arm/arch-mxc/uncompress.h +++ b/include/asm-arm/arch-mxc/uncompress.h | |||
@@ -26,7 +26,6 @@ | |||
26 | #define __MXC_BOOT_UNCOMPRESS | 26 | #define __MXC_BOOT_UNCOMPRESS |
27 | 27 | ||
28 | #include <asm/hardware.h> | 28 | #include <asm/hardware.h> |
29 | #include <asm/processor.h> | ||
30 | 29 | ||
31 | #define UART(x) (*(volatile unsigned long *)(serial_port + (x))) | 30 | #define UART(x) (*(volatile unsigned long *)(serial_port + (x))) |
32 | 31 | ||
@@ -62,7 +61,7 @@ static void putc(int ch) | |||
62 | } | 61 | } |
63 | 62 | ||
64 | while (!(UART(USR2) & USR2_TXFE)) | 63 | while (!(UART(USR2) & USR2_TXFE)) |
65 | cpu_relax(); | 64 | barrier(); |
66 | 65 | ||
67 | UART(TXR) = ch; | 66 | UART(TXR) = ch; |
68 | } | 67 | } |
diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c index 129d851b3151..dd14abcdf1bd 100644 --- a/sound/soc/pxa/pxa2xx-ac97.c +++ b/sound/soc/pxa/pxa2xx-ac97.c | |||
@@ -160,9 +160,9 @@ static void pxa2xx_ac97_cold_reset(struct snd_ac97 *ac97) | |||
160 | gsr_bits = 0; | 160 | gsr_bits = 0; |
161 | #ifdef CONFIG_PXA27x | 161 | #ifdef CONFIG_PXA27x |
162 | /* PXA27x Developers Manual section 13.5.2.2.1 */ | 162 | /* PXA27x Developers Manual section 13.5.2.2.1 */ |
163 | pxa_set_cken(1 << 31, 1); | 163 | pxa_set_cken(31, 1); |
164 | udelay(5); | 164 | udelay(5); |
165 | pxa_set_cken(1 << 31, 0); | 165 | pxa_set_cken(31, 0); |
166 | GCR = GCR_COLD_RST; | 166 | GCR = GCR_COLD_RST; |
167 | udelay(50); | 167 | udelay(50); |
168 | #else | 168 | #else |