sh: dma: Drop incorrect SH_DMAC_BASE1 definition for SH4
authorArtur Rojek <contact@artur-rojek.eu>
Sat, 27 May 2023 16:44:51 +0000 (18:44 +0200)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Wed, 5 Jul 2023 16:55:25 +0000 (18:55 +0200)
None of the supported SH4 family SoCs features a second DMAC module. As
this definition negatively impacts DMA channel calculation for the above
targets, remove it from the code.

Signed-off-by: Artur Rojek <contact@artur-rojek.eu>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/20230527164452.64797-3-contact@artur-rojek.eu
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
arch/sh/include/cpu-sh4/cpu/dma.h

index 38187d06b2343363ffaafd5b5d0fd0cbb24265e0..e97fb2c791778cb2aa446f25120f2d24eed801f2 100644 (file)
@@ -13,6 +13,5 @@
 #define DMAE0_IRQ      evt2irq(0x6c0)
 
 #define SH_DMAC_BASE0  0xffa00000
-#define SH_DMAC_BASE1  0xffa00070
 
 #endif /* __ASM_CPU_SH4_DMA_H */