commit | c4cd02ac32d4859949c5ace783cb9a478831c3eb | [log] [tgz] |
---|---|---|
author | Helge Deller <deller@gmx.de> | Fri Feb 02 23:30:04 2024 +0100 |
committer | Helge Deller <deller@gmx.de> | Tue Feb 06 22:47:50 2024 +0100 |
tree | 4e0e4adc1dfcb8e97a56f47be983e1b863d24cf7 | |
parent | 51ed154f8bed982cb8fe76c24b6afda5873b5942 [diff] |
pciinit: Do not access Dino Flex register on 64-bit firmware Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c index 1535fa4..56c1f44 100644 --- a/src/fw/pciinit.c +++ b/src/fw/pciinit.c
@@ -527,6 +527,9 @@ pcimem_start = 0xf2000000ULL; pcimem_end = 0xff800000ULL; + if (has_astro || sizeof(long) != 4) + return; + /* Setup DINO PCI I/O and mem window */ outl(DINO_HPA | 1, 0xfffc0020); /* Set Dino Flex (Address) */