aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-06-10 15:03:36 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-06-14 16:00:16 +1000
commitc6a49d88e2f45ecdd969c7dfebdccc44ffcbf5fc (patch)
tree45aa35bee3ffcec7eed2161cec050f86723bfbf6 /include
parent229c79d4903ae6d292354eebef56039f7d8219d6 (diff)
downloadskiboot-c6a49d88e2f45ecdd969c7dfebdccc44ffcbf5fc.zip
skiboot-c6a49d88e2f45ecdd969c7dfebdccc44ffcbf5fc.tar.gz
skiboot-c6a49d88e2f45ecdd969c7dfebdccc44ffcbf5fc.tar.bz2
core/fdt: Introduce opal_get_device_tree()
This introduces OPAL API opal_get_device_tree() to get the device sub-tree. It's going to be used in PCI hot add path. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/opal-api.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/opal-api.h b/include/opal-api.h
index f88e97f..2f91715 100644
--- a/include/opal-api.h
+++ b/include/opal-api.h
@@ -163,7 +163,8 @@
#define OPAL_LEDS_SET_INDICATOR 115
#define OPAL_CEC_REBOOT2 116
#define OPAL_CONSOLE_FLUSH 117
-#define OPAL_LAST 117
+#define OPAL_GET_DEVICE_TREE 118
+#define OPAL_LAST 118
/* Device tree flags */