aboutsummaryrefslogtreecommitdiff
path: root/include/fsp.h
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2015-03-23 12:36:28 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-03-23 12:36:28 +1100
commitc4730fb25a6ffd24aa2f9d505510dd45bc6f318c (patch)
treeed338263c59a403fad8b6639fb40ae6bda2b792a /include/fsp.h
parentf333144c9eb8d9c776c2592dc1449b6d38dd757f (diff)
downloadskiboot-c4730fb25a6ffd24aa2f9d505510dd45bc6f318c.zip
skiboot-c4730fb25a6ffd24aa2f9d505510dd45bc6f318c.tar.gz
skiboot-c4730fb25a6ffd24aa2f9d505510dd45bc6f318c.tar.bz2
Change load_resource() API to be all about preloading.
No functional changes in what happens, just have two calls, one for queueing preload the other for waiting until it has loaded. future patches will introduce platform specific queueing. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/fsp.h')
-rw-r--r--include/fsp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fsp.h b/include/fsp.h
index 66fadb1..e05d7a4 100644
--- a/include/fsp.h
+++ b/include/fsp.h
@@ -722,8 +722,8 @@ extern int fsp_fetch_data(uint8_t flags, uint16_t id, uint32_t sub_id,
extern int fsp_fetch_data_queue(uint8_t flags, uint16_t id, uint32_t sub_id,
uint32_t offset, void *buffer, size_t *length,
void (*comp)(struct fsp_msg *msg)) __warn_unused_result;
-extern bool fsp_load_resource(enum resource_id id, uint32_t subid,
- void *buf, size_t *size);
+extern int fsp_start_preload_resource(enum resource_id id, uint32_t idx,
+ void *buf, size_t *size);
/* FSP console stuff */
extern void fsp_console_preinit(void);