summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu (follow)
Commit message (Collapse)AuthorAgeFilesLines
* module: cleanup FIXME comments about trimming exception table entries.Rusty Russell2009-06-121-2/+0
| | | | | | | | Everyone cut and paste this comment from my original one. We now do it generically, so cut the comments. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: Amerigo Wang <amwang@redhat.com>
* m68knommu: remove unecessary include of thread_info.h in entry.SGreg Ungerer2009-06-111-1/+0
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* arch/m68knommu: Convert #ifdef DEBUG printk(KERN_DEBUG to pr_debug(Joe Perches2009-06-112-12/+8
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: remove obsolete reset codeGreg Ungerer2009-06-111-7/+0
| | | | | | | All ColdFire and non-MMU 68k code has custom reset routines. Remove the obsolete and now un-used reset macros. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: move CPU reset code for the 5272 ColdFire into its platform codeGreg Ungerer2009-06-111-4/+14
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: move CPU reset code for the 528x ColdFire into its platform codeGreg Ungerer2009-06-111-4/+9
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: move CPU reset code for the 527x ColdFire into its platform codeGreg Ungerer2009-06-111-6/+9
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: move CPU reset code for the 523x ColdFire into its platform codeGreg Ungerer2009-06-111-6/+8
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: move CPU reset code for the 520x ColdFire into its platform codeGreg Ungerer2009-06-111-6/+9
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: add CPU reset code for the 532x ColdFireGreg Ungerer2009-06-111-3/+9
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: add CPU reset code for the 5249 ColdFireGreg Ungerer2009-06-111-6/+12
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: add CPU reset code for the 5206e ColdFireGreg Ungerer2009-06-111-6/+12
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: add CPU reset code for the 5206 ColdFireGreg Ungerer2009-06-111-6/+12
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: add CPU reset code for the 5407 ColdFireGreg Ungerer2009-06-111-4/+12
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: add CPU reset code for the 5307 ColdFireGreg Ungerer2009-06-111-4/+12
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* Merge branch 'for-linus' of ↵Linus Torvalds2009-04-2411-358/+1346
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: m68knommu: update the default config for the ColdFire 5407C3 board m68knommu: update the default config for the ColdFire 5307C3 board m68knommu: update the default config for the ColdFire 5257EVB board m68knommu: update the default config for the ColdFire 5249EVB. m68knommu: add a defconfig for the ColdFire M5272C3 board m68knommu: update the defconfig for the ColdFire 5208evb board m68knommu: fix DMA support for ColdFire m68knommu: remove unused kernel stats offsets m68knommu: fix missing .data.cacheline_aligned section m68knommu: Fixed GPIO pin initialization for CONFIG_M5271 FEC.
| * m68knommu: update the default config for the ColdFire 5407C3 boardGreg Ungerer2009-04-231-81/+98
| | | | | | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: update the default config for the ColdFire 5307C3 boardGreg Ungerer2009-04-221-68/+163
| | | | | | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: update the default config for the ColdFire 5257EVB boardGreg Ungerer2009-04-221-71/+96
| | | | | | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: update the default config for the ColdFire 5249EVB.Greg Ungerer2009-04-221-59/+209
| | | | | | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: add a defconfig for the ColdFire M5272C3 boardGreg Ungerer2009-04-221-0/+645
| | | | | | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: update the defconfig for the ColdFire 5208evb boardGreg Ungerer2009-04-221-70/+93
| | | | | | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: fix DMA support for ColdFireGreg Ungerer2009-04-222-3/+35
| | | | | | | | | | | | | | | | | | ColdFire CPU family members support DMA (all those with the FEC ethernet core use it, the rest have dedicated DMA engines). The code support is just missing a handful of routines for it to be usable by drivers. Add the missing dma_ functions. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: remove unused kernel stats offsetsGreg Ungerer2009-04-221-6/+0
| | | | | | | | | | | | | | The irq field of the kernel stats struct is not used by the assembly support code, so remove it from the offsets. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: fix missing .data.cacheline_aligned sectionGreg Ungerer2009-04-221-0/+2
| | | | | | | | | | | | Add a .data.cacheline_aligned section to the data segment. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: Fixed GPIO pin initialization for CONFIG_M5271 FEC.Richard Retanubun2009-04-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | This processor only have one FEC and its MDIO pins are located at a different offset than the code used for the current CONFIG_M527x. Tesed on M5271EVB eval platform. Without this patch the FEC driver will report no PHY attached if the bootloader does not pre-initialize the PAR_FECI2C GPIO register. Signed-off-by: Richard Retanubun <RichardRetanubun@RuggedCom.com> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* | m68k,m68knommu: Wire up preadv and pwritevGeert Uytterhoeven2009-04-221-0/+2
|/ | | | | Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Greg Ungerer <gerg@uclinux.org>
* clocksource: pass clocksource to read() callbackMagnus Damm2009-04-214-4/+4
| | | | | | | | | | | | | | Pass clocksource pointer to the read() callback for clocksources. This allows us to share the callback between multiple instances. [hugh@veritas.com: fix powerpc build of clocksource pass clocksource mods] [akpm@linux-foundation.org: cleanup] Signed-off-by: Magnus Damm <damm@igel.co.jp> Acked-by: John Stultz <johnstul@us.ibm.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Hugh Dickins <hugh@veritas.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Merge branch 'for-linus' of ↵Linus Torvalds2009-04-039-28/+71
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: (41 commits) m68knommu: improve compile arch switch settings m68knommu: fix 5407 ColdFire UART vector setup m68knommu: fix 5307 ColdFire UART vector setup m68knommu: fix 5249 ColdFire UART vector setup m68knommu: fix 5249 ColdFire UART setup m68knommu: fix end of uart table marker m68knommu: switch to using generic_handle_irq() m68k: merge the mmu and non-mmu versions of tlbflush.h m68knommu: introduce basic clk infrastructure m68k: merge the mmu and non-mmu versions of module.h m68knommu: add missing interrupt line definition for UART 2 m68k: merge the mmu and non-mmu versions of mmu_context.h m68k: merge the mmu and non-mmu versions of current.h m68k: merge the mmu and non-mmu versions of div64.h m68k: merge the mmu and non-mmu versions of bugs.h m68k: merge the mmu and non-mmu versions of bug.h m68k: use the mmu version of cache.h for m68knommu as well m68k: use the mmu version of bootinfo.h for m68knommu as well m68k: merge the mmu and non-mmu versions of fb.h m68k: merge the mmu and non-mmu versions of segment.h ...
| * m68knommu: improve compile arch switch settingsGreg Ungerer2009-03-301-7/+7
| | | | | | | | | | | | | | Modern versions of gcc have a better range of ColdFire optimization switches for the vairous ColdFire family members. Use these when we can. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: fix 5407 ColdFire UART vector setupGreg Ungerer2009-03-241-4/+4
| | | | | | | | | | | | | | | | | | There is a couple of problems with the UART vector setup for the 5307 ColdFire UART. The ICR register access should be 8bit, not 32bit. The address of the UIVR register is wrong, it needs to be offset into the MBAR register region. Fix these. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: fix 5307 ColdFire UART vector setupGreg Ungerer2009-03-241-4/+4
| | | | | | | | | | | | | | | | | | There is a couple of problems with the UART vector setup for the 5307 ColdFire UART. The ICR register access should be 8bit, not 32bit. The address of the UIVR register is wrong, it needs to be offset into the MBAR register region. Fix these. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: fix 5249 ColdFire UART vector setupGreg Ungerer2009-03-241-2/+2
| | | | | | | | | | | | | | | | The address of the IVUR register is not correct, it should be offset into the MBAR region. Without this the vector is not set to the correct number. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: fix 5249 ColdFire UART setupGreg Ungerer2009-03-241-2/+2
| | | | | | | | | | | | | | The ICR registers of the 5249 ColdFire processor are 8bits, not 32bits. Fix the read/write of these register to be the correct size. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: fix end of uart table markerGreg Ungerer2009-03-241-1/+2
| | | | | | | | | | | | | | The UART platform data structure is missing an empty struct at the end (as the end of structure marker). Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: switch to using generic_handle_irq()Greg Ungerer2009-03-241-1/+1
| | | | | | | | | | | | Switch to using generic_handle_irq() instead of the deprecated __do_IRQ(). Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: introduce basic clk infrastructureGreg Ungerer2009-03-242-1/+41
| | | | | | | | | | | | | | | | Create basic support for clk API. Recent changes to the FEC driver (used by many ColdFire family parts) need this. Initially only supports getting the master clock frequency. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: add a local dma_sync_single_for_cpu() functionGreg Ungerer2009-03-241-1/+7
| | | | | | | | | | | | | | | | The onboard ethernet of many ColdFire parts uses DMA. The driver is being cleaned up to use the correct DMA handling functions, and m68knommuy currently does not implement dma_sync_single_for_cpu(). Signed-off-by: Greg Ungerer <gerg@uclinux.org>
| * m68knommu: mark all RAM as ZONE_DMAGreg Ungerer2009-03-241-5/+1
| | | | | | | | | | | | | | | | There is no reason not to put all RAM in ZONE_DMA for these simple m68k varients (same as the standard MMU m68k code does). With this in place the usual dma_alloc_coherent() work as expected. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* | Simplify copy_thread()Alexey Dobriyan2009-04-031-1/+1
| | | | | | | | | | | | | | | | | | | | First argument unused since 2.3.11. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: <linux-arch@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* | Merge branch 'master' of /home/davem/src/GIT/linux-2.6/David S. Miller2009-03-262-228/+1
|\| | | | | | | | | Conflicts: drivers/net/wimax/i2400m/usb-notif.c
| * m68knommu: m528x build fixSteven King2009-03-101-228/+0
| | | | | | | | | | | | | | | | | | | | There isn't any mcfqspi.h in the tree, and without it everything inside the #ifdef CONFIG_SPI is uncompilable. Signed-off-by: Steven King <sfking@fdwdc.com> Acked-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| * m68knommu: m5206e build fixSteven King2009-03-101-0/+1
| | | | | | | | | | | | | | Signed-off-by: Steven King <sfking@fdwdc.com> Acked-by: Greg Ungerer <gerg@snapgear.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* | fec: add FEC platform support to ColdFire CPU's setup codeGreg Ungerer2009-02-276-1/+374
|/ | | | | | | | | | m68knommu: add FEC platform support to ColdFire CPU's setup code Move the per-CPU FEC driver setup code into the actual platform setup code for each ColdFire CPU varient. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* m68knommu: fix 5329 ColdFire periphal addressingMatt Waddel2009-01-271-4/+4
| | | | | | | | | The 5329 ColdFire peripheral IO register addresses are not relative to the MBAR register. So fix the serial platform setup array and IRQ acking to use just the direct addresses. Signed-off-by: Matt Waddel <Matt.Waddel@freescale.com> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: fix syscall restartingGreg Ungerer2009-01-272-1/+16
| | | | | | | Make restart blocks working, required for proper syscall restarting. Derived from same changes for m68k arch by Andreas Schwab <schwab@suse.de> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: remove the obsolete and long unused comempci chip supportGreg Ungerer2009-01-272-981/+0
| | | | Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: remove the no longer used PCI support optionAdrian Bunk2009-01-271-17/+0
| | | | | Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: remove obsolete and unused eLIA boardAdrian Bunk2009-01-273-8/+1
| | | | | | | | Greg Ungerer said about this board: Only ever a handful where made, and that was in 1999. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Greg Ungerer <gerg@uclinux.org>
* m68knommu: set NO_DMAAdrian Bunk2009-01-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | m68knommu does not set the Kconfig NO_DMA variable, but also does not provide the required functions, resulting in the following build error triggered by commit a40c24a13366e324bc0ff8c3bb107db89312c984 (net: Add SKB DMA mapping helper functions.): <-- snip --> .. LD vmlinux net/built-in.o: In function `skb_dma_unmap': (.text+0xac5e): undefined reference to `dma_unmap_single' net/built-in.o: In function `skb_dma_unmap': (.text+0xac7a): undefined reference to `dma_unmap_page' net/built-in.o: In function `skb_dma_map': (.text+0xacdc): undefined reference to `dma_map_single' net/built-in.o: In function `skb_dma_map': (.text+0xace8): undefined reference to `dma_mapping_error' net/built-in.o: In function `skb_dma_map': (.text+0xad10): undefined reference to `dma_map_page' net/built-in.o: In function `skb_dma_map': (.text+0xad82): undefined reference to `dma_unmap_page' net/built-in.o: In function `skb_dma_map': (.text+0xadc6): undefined reference to `dma_unmap_single' make[1]: *** [vmlinux] Error 1 <-- snip --> Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Greg Ungerer <gerg@uclinux.org>