MIPS: Netlogic: Move code common with XLP to common/
authorJayachandran C <jayachandranc@netlogicmicro.com>
Fri, 11 Nov 2011 11:38:29 +0000 (17:08 +0530)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 7 Dec 2011 22:04:55 +0000 (22:04 +0000)
commit0c9654072a6e15aa3da9b314f0c5c01e90938268
tree865bbcf93aac081b15bf38604384e4bf7620024b
parent99fb2f7984726ba03d5634df8e6d26eb891f1ec3
MIPS: Netlogic: Move code common with XLP to common/

- Move code that can be shared with XLP (irq.c, smp.c, time.c and
  xlr_console.c) to arch/mips/netlogic/common
- Add asm/netlogic/haldefs.h and asm/netlogic/common.h for common and
  io functions shared with XLP
- remove type 'nlm_reg_t *' and use uint64_t for mmio offsets
- Move XLR specific code in smp.c to xlr/wakeup.c
- Move XLR specific PCI code from irq.c to mips/pci/pci-xlr.c
- Provide API for pic functions called from common/irq.c

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2964/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
22 files changed:
arch/mips/include/asm/netlogic/common.h [new file with mode: 0644]
arch/mips/include/asm/netlogic/haldefs.h [new file with mode: 0644]
arch/mips/include/asm/netlogic/xlr/iomap.h
arch/mips/include/asm/netlogic/xlr/pic.h
arch/mips/include/asm/netlogic/xlr/xlr.h
arch/mips/netlogic/Makefile [new file with mode: 0644]
arch/mips/netlogic/Platform
arch/mips/netlogic/common/Makefile [new file with mode: 0644]
arch/mips/netlogic/common/earlycons.c [new file with mode: 0644]
arch/mips/netlogic/common/irq.c [new file with mode: 0644]
arch/mips/netlogic/common/smp.c [new file with mode: 0644]
arch/mips/netlogic/common/time.c [new file with mode: 0644]
arch/mips/netlogic/xlr/Makefile
arch/mips/netlogic/xlr/irq.c [deleted file]
arch/mips/netlogic/xlr/platform.c
arch/mips/netlogic/xlr/setup.c
arch/mips/netlogic/xlr/smp.c [deleted file]
arch/mips/netlogic/xlr/smpboot.S
arch/mips/netlogic/xlr/time.c [deleted file]
arch/mips/netlogic/xlr/wakeup.c [new file with mode: 0644]
arch/mips/netlogic/xlr/xlr_console.c [deleted file]
arch/mips/pci/pci-xlr.c
This page took 0.026237 seconds and 5 git commands to generate.