aboutsummaryrefslogtreecommitdiff
path: root/core/init.c
diff options
context:
space:
mode:
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>2018-06-20 13:49:36 +1000
committerStewart Smith <stewart@linux.ibm.com>2018-06-27 17:19:01 +1000
commitef623f91e5c4719e65784fa976f9227a6926939d (patch)
tree18a6816fcca9ffa9d06ebbda22884802fdb75e52 /core/init.c
parent815417dcda2e87fc5f1aa087ae5374515cdd86df (diff)
downloadskiboot-ef623f91e5c4719e65784fa976f9227a6926939d.zip
skiboot-ef623f91e5c4719e65784fa976f9227a6926939d.tar.gz
skiboot-ef623f91e5c4719e65784fa976f9227a6926939d.tar.bz2
occ: Move occ declarations into occ.h
OCC declarations are currently split between skiboot.h and occ-sensor.h. Given the growing unwieldyness of skiboot.h it's probably time to move it all into one header. Rename occ-sensor.h to occ.h, move all OCC-related declarations out of skiboot.h, and add #includes as necessary. Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Reviewed-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core/init.c')
-rw-r--r--core/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/init.c b/core/init.c
index 272a57a..b660af2 100644
--- a/core/init.c
+++ b/core/init.c
@@ -53,6 +53,7 @@
#include <dts.h>
#include <sbe-p9.h>
#include <debug_descriptor.h>
+#include <occ.h>
enum proc_gen proc_gen;
unsigned int pcie_max_link_speed;