summaryrefslogtreecommitdiffstats
path: root/include/platform.h
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2015-02-20 11:37:55 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-23 13:35:49 +1100
commitb86e2ae93fe9fcaa72cdea4daa840fe08d6a4b4d (patch)
tree19112b141180a23ce3f32b36e37037f81c59422f /include/platform.h
parent3a3aa0dc511b910529c582419cb23664df7edae8 (diff)
downloadblackbird-skiboot-b86e2ae93fe9fcaa72cdea4daa840fe08d6a4b4d.tar.gz
blackbird-skiboot-b86e2ae93fe9fcaa72cdea4daa840fe08d6a4b4d.zip
capi: Add CAPI microcode read to load_resource()
Add ability to read CAPI microcode to load_resource() implementations. We use the cfam chipid as the subid. FSP load_resource() contains a map of cfam chipid to lid numbers. PNOR load_resource() doesn't change, but requires a properly formatted partition with EC values in the TOC matching the appropriate cfam chipid. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 690772e5..9c402516 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -25,6 +25,7 @@ struct errorlog;
enum resource_id {
RESOURCE_ID_KERNEL,
RESOURCE_ID_INITRAMFS,
+ RESOURCE_ID_CAPP,
};
#define RESOURCE_SUBID_NONE 0
#define RESOURCE_SUBID_SUPPORTED 1
OpenPOWER on IntegriCloud