aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slof/fs/pci-properties.fs6
1 files changed, 1 insertions, 5 deletions
diff --git a/slof/fs/pci-properties.fs b/slof/fs/pci-properties.fs
index e6fd843..8594e5d 100644
--- a/slof/fs/pci-properties.fs
+++ b/slof/fs/pci-properties.fs
@@ -166,11 +166,7 @@
\ Setup a non-prefetchable 64bit BAR and return its size
: assign-mmio64-bar ( bar-addr -- 8 )
dup pci-bar-size-mem64 \ fetch size
- pci-next-mem64 @ 0 = IF \ Check if we have 64-bit memory range
- pci-next-mmio
- ELSE
- pci-next-mem64 \ for board-qemu we will use same range
- THEN
+ pci-next-mmio
assign-bar-value64 \ and set it all
;