aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2019-08-20 20:31:38 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-08-23 16:50:47 +1000
commit1af237bc047b8aecbec0d58be3bfe80a1e50fb5c (patch)
tree60b52242d9f9793f7fbfd5cfc9500775fd59ae8d /include
parent2a0455ba0f7784b2d7e9e3915fd30f815afd2ae1 (diff)
downloadskiboot-1af237bc047b8aecbec0d58be3bfe80a1e50fb5c.zip
skiboot-1af237bc047b8aecbec0d58be3bfe80a1e50fb5c.tar.gz
skiboot-1af237bc047b8aecbec0d58be3bfe80a1e50fb5c.tar.bz2
pci: recheck pci nvram hacks on fast-reboot
Sometimes it's useful to fiddle with some of the PCI NVRAM options that we have. Currently this is mostly for enabling and disabling pci-tracing mode, but having a common place for this stuff is a good idea. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'include')
-rw-r--r--include/pci.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/pci.h b/include/pci.h
index 220d6b1..dcd354a 100644
--- a/include/pci.h
+++ b/include/pci.h
@@ -356,8 +356,11 @@ enum phb_type {
phb_type_npu_v3,
};
-
+/* Generic PCI NVRAM flags */
extern bool verbose_eeh;
+extern bool pci_tracing;
+
+void pci_nvram_init(void);
struct phb {
struct dt_node *dt_node;