diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-12 15:23:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-09-12 15:23:51 -0400 |
commit | c87ce65868bbf9bbea9c3f112ff8315302daf8f2 (patch) | |
tree | dc4a038bf888bd78b75a23e120c7fa737960fedf /arch/powerpc | |
parent | c413fecc763e380ec93dc6faf726e7e735ade04e (diff) | |
parent | ee56c47440ab04c6a35c835a9bcc4193304adf93 (diff) |
Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
[POWERPC] Move serial_dev_init to device_initcall()
[POWERPC] Enable GENERIC_ISA_DMA if FSL_ULI1575 to fix compile issue
[POWERPC] cpm2: Fix off-by-one error in setbrg().
[PPC] 8xx: Fix r3 trashing due to 8MB TLB page instantiation
[POWERPC] 8{5,6}xx: Fix build issue with !CONFIG_PCI
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kernel/legacy_serial.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc8544_ds.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_cds.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/85xx/mpc85xx_mds.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | 2 | ||||
-rw-r--r-- | arch/powerpc/platforms/Kconfig | 1 | ||||
-rw-r--r-- | arch/powerpc/sysdev/cpm2_common.c | 2 |
7 files changed, 10 insertions, 3 deletions
diff --git a/arch/powerpc/kernel/legacy_serial.c b/arch/powerpc/kernel/legacy_serial.c index cea8045ba40b..90fa11c72e1c 100644 --- a/arch/powerpc/kernel/legacy_serial.c +++ b/arch/powerpc/kernel/legacy_serial.c | |||
@@ -493,7 +493,7 @@ static int __init serial_dev_init(void) | |||
493 | 493 | ||
494 | return platform_device_register(&serial_device); | 494 | return platform_device_register(&serial_device); |
495 | } | 495 | } |
496 | arch_initcall(serial_dev_init); | 496 | device_initcall(serial_dev_init); |
497 | 497 | ||
498 | 498 | ||
499 | /* | 499 | /* |
diff --git a/arch/powerpc/platforms/85xx/mpc8544_ds.c b/arch/powerpc/platforms/85xx/mpc8544_ds.c index 0f834d8be444..48983bc56d46 100644 --- a/arch/powerpc/platforms/85xx/mpc8544_ds.c +++ b/arch/powerpc/platforms/85xx/mpc8544_ds.c | |||
@@ -178,7 +178,9 @@ define_machine(mpc8544_ds) { | |||
178 | .probe = mpc8544_ds_probe, | 178 | .probe = mpc8544_ds_probe, |
179 | .setup_arch = mpc8544_ds_setup_arch, | 179 | .setup_arch = mpc8544_ds_setup_arch, |
180 | .init_IRQ = mpc8544_ds_pic_init, | 180 | .init_IRQ = mpc8544_ds_pic_init, |
181 | #ifdef CONFIG_PCI | ||
181 | .pcibios_fixup_bus = fsl_pcibios_fixup_bus, | 182 | .pcibios_fixup_bus = fsl_pcibios_fixup_bus, |
183 | #endif | ||
182 | .get_irq = mpic_get_irq, | 184 | .get_irq = mpic_get_irq, |
183 | .restart = mpc85xx_restart, | 185 | .restart = mpc85xx_restart, |
184 | .calibrate_decr = generic_calibrate_decr, | 186 | .calibrate_decr = generic_calibrate_decr, |
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_cds.c b/arch/powerpc/platforms/85xx/mpc85xx_cds.c index 6a171e9abf7d..2d4cb7847604 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_cds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_cds.c | |||
@@ -351,10 +351,10 @@ define_machine(mpc85xx_cds) { | |||
351 | .get_irq = mpic_get_irq, | 351 | .get_irq = mpic_get_irq, |
352 | #ifdef CONFIG_PCI | 352 | #ifdef CONFIG_PCI |
353 | .restart = mpc85xx_cds_restart, | 353 | .restart = mpc85xx_cds_restart, |
354 | .pcibios_fixup_bus = fsl_pcibios_fixup_bus, | ||
354 | #else | 355 | #else |
355 | .restart = mpc85xx_restart, | 356 | .restart = mpc85xx_restart, |
356 | #endif | 357 | #endif |
357 | .calibrate_decr = generic_calibrate_decr, | 358 | .calibrate_decr = generic_calibrate_decr, |
358 | .progress = udbg_progress, | 359 | .progress = udbg_progress, |
359 | .pcibios_fixup_bus = fsl_pcibios_fixup_bus, | ||
360 | }; | 360 | }; |
diff --git a/arch/powerpc/platforms/85xx/mpc85xx_mds.c b/arch/powerpc/platforms/85xx/mpc85xx_mds.c index be25ecd911ba..7ca7e676f1c4 100644 --- a/arch/powerpc/platforms/85xx/mpc85xx_mds.c +++ b/arch/powerpc/platforms/85xx/mpc85xx_mds.c | |||
@@ -207,5 +207,7 @@ define_machine(mpc85xx_mds) { | |||
207 | .restart = mpc85xx_restart, | 207 | .restart = mpc85xx_restart, |
208 | .calibrate_decr = generic_calibrate_decr, | 208 | .calibrate_decr = generic_calibrate_decr, |
209 | .progress = udbg_progress, | 209 | .progress = udbg_progress, |
210 | #ifdef CONFIG_PCI | ||
210 | .pcibios_fixup_bus = fsl_pcibios_fixup_bus, | 211 | .pcibios_fixup_bus = fsl_pcibios_fixup_bus, |
212 | #endif | ||
211 | }; | 213 | }; |
diff --git a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c index 56b27caf7a27..47aafa76c933 100644 --- a/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c +++ b/arch/powerpc/platforms/86xx/mpc86xx_hpcn.c | |||
@@ -250,5 +250,7 @@ define_machine(mpc86xx_hpcn) { | |||
250 | .time_init = mpc86xx_time_init, | 250 | .time_init = mpc86xx_time_init, |
251 | .calibrate_decr = generic_calibrate_decr, | 251 | .calibrate_decr = generic_calibrate_decr, |
252 | .progress = udbg_progress, | 252 | .progress = udbg_progress, |
253 | #ifdef CONFIG_PCI | ||
253 | .pcibios_fixup_bus = fsl_pcibios_fixup_bus, | 254 | .pcibios_fixup_bus = fsl_pcibios_fixup_bus, |
255 | #endif | ||
254 | }; | 256 | }; |
diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig index cfc249741592..19d4628edf79 100644 --- a/arch/powerpc/platforms/Kconfig +++ b/arch/powerpc/platforms/Kconfig | |||
@@ -285,6 +285,7 @@ config AXON_RAM | |||
285 | config FSL_ULI1575 | 285 | config FSL_ULI1575 |
286 | bool | 286 | bool |
287 | default n | 287 | default n |
288 | select GENERIC_ISA_DMA | ||
288 | help | 289 | help |
289 | Supports for the ULI1575 PCIe south bridge that exists on some | 290 | Supports for the ULI1575 PCIe south bridge that exists on some |
290 | Freescale reference boards. The boards all use the ULI in pretty | 291 | Freescale reference boards. The boards all use the ULI in pretty |
diff --git a/arch/powerpc/sysdev/cpm2_common.c b/arch/powerpc/sysdev/cpm2_common.c index 924412974795..c827715a5090 100644 --- a/arch/powerpc/sysdev/cpm2_common.c +++ b/arch/powerpc/sysdev/cpm2_common.c | |||
@@ -102,7 +102,7 @@ cpm_setbrg(uint brg, uint rate) | |||
102 | brg -= 4; | 102 | brg -= 4; |
103 | } | 103 | } |
104 | bp += brg; | 104 | bp += brg; |
105 | *bp = ((BRG_UART_CLK / rate) << 1) | CPM_BRG_EN; | 105 | out_be32(bp, (((BRG_UART_CLK / rate) - 1) << 1) | CPM_BRG_EN); |
106 | 106 | ||
107 | cpm2_unmap(bp); | 107 | cpm2_unmap(bp); |
108 | } | 108 | } |