diff options
author | Helge Deller <deller@gmx.de> | 2024-02-02 23:30:04 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-02-06 22:47:50 +0100 |
commit | c4cd02ac32d4859949c5ace783cb9a478831c3eb (patch) | |
tree | 4e0e4adc1dfcb8e97a56f47be983e1b863d24cf7 | |
parent | 51ed154f8bed982cb8fe76c24b6afda5873b5942 (diff) | |
download | seabios-hppa-c4cd02ac32d4859949c5ace783cb9a478831c3eb.zip seabios-hppa-c4cd02ac32d4859949c5ace783cb9a478831c3eb.tar.gz seabios-hppa-c4cd02ac32d4859949c5ace783cb9a478831c3eb.tar.bz2 |
pciinit: Do not access Dino Flex register on 64-bit firmware
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | src/fw/pciinit.c | 3 |
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) */ |