aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-05-09 20:45:02 +0200
committerAlexey Kardashevskiy <aik@ozlabs.ru>2017-06-06 15:47:31 +1000
commit11ff4ba277ca9a9dc51136bab64772c9ac1541f6 (patch)
tree69e39f7ec8a64581cb4feab06f8f069f83eb07c0
parentfcd31d3e672a013d0a02005c053955100c426ff6 (diff)
downloadSLOF-11ff4ba277ca9a9dc51136bab64772c9ac1541f6.zip
SLOF-11ff4ba277ca9a9dc51136bab64772c9ac1541f6.tar.gz
SLOF-11ff4ba277ca9a9dc51136bab64772c9ac1541f6.tar.bz2
pci: Remove unused next-pci-[mem|mmio|io] functions
The next-pci-mem and next-pci-mmio Forth words are completely unused, and pci-next-io is only used in one location (which can easily be replaced), so let's get simply rid of these legacy functions. Signed-off-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
-rw-r--r--board-js2x/slof/pci-bridge_1022_7460.fs2
-rw-r--r--slof/fs/pci-scan.fs7
2 files changed, 1 insertions, 8 deletions
diff --git a/board-js2x/slof/pci-bridge_1022_7460.fs b/board-js2x/slof/pci-bridge_1022_7460.fs
index 87b5830..67fe64e 100644
--- a/board-js2x/slof/pci-bridge_1022_7460.fs
+++ b/board-js2x/slof/pci-bridge_1022_7460.fs
@@ -81,7 +81,7 @@ INCLUDE freq.fs
0 8a0 config-l!
\ 8111 has only 16 bits of PCI I/O space. Get the address in range.
-8000 next-pci-io !
+8000 pci-next-io !
\ before disabling EHCI it needs to be reset
diff --git a/slof/fs/pci-scan.fs b/slof/fs/pci-scan.fs
index 8a419d9..9578189 100644
--- a/slof/fs/pci-scan.fs
+++ b/slof/fs/pci-scan.fs
@@ -44,13 +44,6 @@ here 100 allot CONSTANT pci-device-vec
\ enable/disable creation of hotplug-specific properties
0 VALUE pci-hotplug-enabled
-
-\ Fixme Glue to the pci-devices ... remove this later
-: next-pci-mem ( addr -- addr ) pci-next-mem ;
-: next-pci-mmio ( addr -- addr ) pci-next-mmio ;
-: next-pci-io ( addr -- addr ) pci-next-io ;
-
-
#include "pci-helper.fs"
\ Dump out the pci device-slot vector