serial: Disable serial port detection on 64-bit machines
The serial ports on 64-bit machines are PCI devices only.
Skip searching on typical serial port addresses to avoid HPMCs.
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/src/serial.c b/src/serial.c
index 8813831..6858aa0 100644
--- a/src/serial.c
+++ b/src/serial.c
@@ -47,6 +47,9 @@
return;
dprintf(3, "init serial\n");
+ if (CONFIG_PARISC && has_astro)
+ return;
+
u16 count = 0;
count += detect_serial(PORT_SERIAL1, 0x0a, count);
count += detect_serial(PORT_SERIAL2, 0x0a, count);