]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 16 Nov 2011 00:06:14 +0000 (00:06 +0000)
commit2c54b9b528bc19073703cd72e93cac6b1bdbc854
tree95cbdab8d20d66cad0c41f03da660caf66edaea6
parentcb29e26952b561ba7769bc098404d0675500150c
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>
19 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 [moved from arch/mips/netlogic/xlr/xlr_console.c with 87% similarity]
arch/mips/netlogic/common/irq.c [new file with mode: 0644]
arch/mips/netlogic/common/smp.c [moved from arch/mips/netlogic/xlr/smp.c with 79% similarity]
arch/mips/netlogic/common/time.c [moved from arch/mips/netlogic/xlr/time.c with 93% similarity]
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/smpboot.S
arch/mips/netlogic/xlr/wakeup.c [new file with mode: 0644]
arch/mips/pci/pci-xlr.c