MIPS: Loongon64: DMA functions cleanup
authorHuacai Chen <chenhc@lemote.com>
Thu, 23 Aug 2018 05:33:10 +0000 (13:33 +0800)
committerPaul Burton <paul.burton@mips.com>
Tue, 28 Aug 2018 16:47:14 +0000 (09:47 -0700)
commit33f2ac5451a62f4e441454522b0588790144a717
tree1f04758c19f6909e1031703cbbc88704518eb815
parent5b394b2ddf0347bef56e50c69a58773c94343ff3
MIPS: Loongon64: DMA functions cleanup

Split the common dma.c which shared by Loongson-2E and Loongson-2F,
since the code in 'common' directory is assumed be shared by all 64bit
Loongson platforms (but Loongson-3 doesn't use it now). By the way,
Loongson-2E and Loongson-2F have already dropped 32bit kernel support,
so CONFIG_64BIT isn't needed.

Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20302/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@linux-mips.org
Cc: Fuxin Zhang <zhangfx@lemote.com>
Cc: Zhangjin Wu <wuzhangjin@gmail.com>
Cc: Huacai Chen <chenhuacai@gmail.com>
arch/mips/loongson64/common/Makefile
arch/mips/loongson64/fuloong-2e/Makefile
arch/mips/loongson64/fuloong-2e/dma.c [new file with mode: 0644]
arch/mips/loongson64/lemote-2f/Makefile
arch/mips/loongson64/lemote-2f/dma.c [moved from arch/mips/loongson64/common/dma.c with 75% similarity]