Skip to content

Commit

Permalink
h8300: use dma-direct
Browse files Browse the repository at this point in the history
Replace the bare-bones h8300 direct dma mapping implementation with
the fully featured generic dma-direct one.

Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
Christoph Hellwig committed Jan 15, 2018
1 parent f73337f commit 23475ad
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 79 deletions.
1 change: 1 addition & 0 deletions arch/h8300/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ config H8300
select HAVE_ARCH_KGDB
select HAVE_ARCH_HASH
select CPU_NO_EFFICIENT_FFS
select DMA_DIRECT_OPS

config CPU_BIG_ENDIAN
def_bool y
Expand Down
1 change: 1 addition & 0 deletions arch/h8300/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ generic-y += delay.h
generic-y += device.h
generic-y += div64.h
generic-y += dma.h
generic-y += dma-mapping.h
generic-y += emergency-restart.h
generic-y += exec.h
generic-y += extable.h
Expand Down
12 changes: 0 additions & 12 deletions arch/h8300/include/asm/dma-mapping.h

This file was deleted.

2 changes: 1 addition & 1 deletion arch/h8300/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ extra-y := vmlinux.lds

obj-y := process.o traps.o ptrace.o \
signal.o setup.o syscalls.o \
irq.o entry.o dma.o
irq.o entry.o

obj-$(CONFIG_ROMKERNEL) += head_rom.o
obj-$(CONFIG_RAMKERNEL) += head_ram.o
Expand Down
66 changes: 0 additions & 66 deletions arch/h8300/kernel/dma.c

This file was deleted.

0 comments on commit 23475ad

Please sign in to comment.