Skip to content

Commit d2f4a19

Browse files
zearglaubitz
authored andcommitted
sh: dma: Drop incorrect SH_DMAC_BASE1 definition for SH4
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>
1 parent e82e475 commit d2f4a19

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • arch/sh/include/cpu-sh4/cpu

arch/sh/include/cpu-sh4/cpu/dma.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,5 @@
1313
#define DMAE0_IRQ evt2irq(0x6c0)
1414

1515
#define SH_DMAC_BASE0 0xffa00000
16-
#define SH_DMAC_BASE1 0xffa00070
1716

1817
#endif /* __ASM_CPU_SH4_DMA_H */

0 commit comments

Comments
 (0)