aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTimothy Pearson <tpearson@raptorengineering.com>2019-04-26 12:00:44 -0500
committerStewart Smith <stewart@linux.ibm.com>2019-05-02 09:57:15 +1000
commit27fcf2fa8350f4c326e37603674242d36e786975 (patch)
tree419d80ddd4ce1ac024a13e7b515c7c3bcbebe4b6 /include
parent0634dd410daed2fe79a2125d759837030a41269e (diff)
downloadskiboot-27fcf2fa8350f4c326e37603674242d36e786975.zip
skiboot-27fcf2fa8350f4c326e37603674242d36e786975.tar.gz
skiboot-27fcf2fa8350f4c326e37603674242d36e786975.tar.bz2
Expose PNOR Flash partitions to host MTD driver via devicetree
This makes it possible for the host to directly address each partition without requiring each application to directly parse the FFS headers. This has been in use for some time already to allow BOOTKERNFW partition updates from the host. Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/platform.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index de4638f..f63c24a 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -30,6 +30,7 @@ enum resource_id {
RESOURCE_ID_CAPP,
RESOURCE_ID_IMA_CATALOG,
RESOURCE_ID_VERSION,
+ RESOURCE_ID_KERNEL_FW,
};
#define RESOURCE_SUBID_NONE 0
#define RESOURCE_SUBID_SUPPORTED 1