aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fw/pciinit.c3
1 files changed, 3 insertions, 0 deletions
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 @@ static void dino_mem_addr_setup(struct pci_device *dev, void *arg)
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) */