aboutsummaryrefslogtreecommitdiff
path: root/hw/chiptod.c
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-02-06 13:11:25 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-06 13:11:25 +1100
commitd195fd680eac1044681fd265edfbf342888f4a93 (patch)
tree1c97fb792d7e478ab2f7c74e7d923f04372542ad /hw/chiptod.c
parentcf6b20d6caf159da1dfad978824f817675a9c538 (diff)
downloadskiboot-d195fd680eac1044681fd265edfbf342888f4a93.zip
skiboot-d195fd680eac1044681fd265edfbf342888f4a93.tar.gz
skiboot-d195fd680eac1044681fd265edfbf342888f4a93.tar.bz2
Move skiboot internal things from opal.h to opal-api.h
This is probably not the best collection of things in the world, but it means that opal.h is much closer to being directly usable by an OS. This triggers a bunch of #include fixes throughout the tree. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/chiptod.c')
-rw-r--r--hw/chiptod.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/chiptod.c b/hw/chiptod.c
index 22dfaec..1e3448b 100644
--- a/hw/chiptod.c
+++ b/hw/chiptod.c
@@ -24,6 +24,7 @@
#include <io.h>
#include <cpu.h>
#include <timebase.h>
+#include <opal-api.h>
/* TOD chip XSCOM addresses */
#define TOD_TTYPE_0 0x00040011