sh: dreamcast: Fix GAPS PCI bridge addressing
authorArtur Rojek <contact@artur-rojek.eu>
Sat, 11 May 2024 19:16:14 +0000 (21:16 +0200)
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Mon, 13 May 2024 07:13:26 +0000 (09:13 +0200)
commit10c88ca5c9aeb51f2608507ca259f8b1176a4723
treeaf3b4576a36bf97d8db7c6be3498f6c28246a8c3
parent21b8651502d5989576f9ca4849f40ff3bf1271ff
sh: dreamcast: Fix GAPS PCI bridge addressing

The G2-to-PCI bridge chip found in SEGA Dreamcast assumes P2 area
relative addresses.

Set the appropriate IOPORT base offset.

Tested-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Artur Rojek <contact@artur-rojek.eu>
Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/r/20240511191614.68561-2-contact@artur-rojek.eu
Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
arch/sh/Kconfig
arch/sh/boards/mach-dreamcast/setup.c