diff options
author | Michael Neuling <mikey@neuling.org> | 2015-02-12 12:57:52 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-02-17 09:20:37 +1100 |
commit | 4a4efc42a87da445333da85ce7f13db2f6095d03 (patch) | |
tree | 95170ebe18179e758ee9916bc4ff86a219b9a7f5 /include | |
parent | ea7d806ab0ba7acbc4143261c2648864d3def1f1 (diff) | |
download | skiboot-4a4efc42a87da445333da85ce7f13db2f6095d03.zip skiboot-4a4efc42a87da445333da85ce7f13db2f6095d03.tar.gz skiboot-4a4efc42a87da445333da85ce7f13db2f6095d03.tar.bz2 |
core: Add load_resource()
Add new function call load_resource(). This helps cleanup the callers of
platform.load_resource().
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index 44e67ef..ec5cbc6 100644 --- a/include/platform.h +++ b/include/platform.h @@ -148,4 +148,7 @@ static const struct platform __used __section(".platforms") name ##_platform extern void probe_platform(void); +extern bool load_resource(enum resource_id id, + void *buf, size_t *len); + #endif /* __PLATFORM_H */ |