Skip to content

Commit

Permalink
sh: dma: Drop incorrect SH_DMAC_BASE1 definition for SH4
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Artur Rojek authored and John Paul Adrian Glaubitz committed Jul 5, 2023
1 parent e82e475 commit d2f4a19
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/sh/include/cpu-sh4/cpu/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit d2f4a19

Please sign in to comment.