aboutsummaryrefslogtreecommitdiff
path: root/include/skiboot.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/skiboot.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/skiboot.h')
-rw-r--r--include/skiboot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/skiboot.h b/include/skiboot.h
index 0fe50e9..6cb9b2d 100644
--- a/include/skiboot.h
+++ b/include/skiboot.h
@@ -199,8 +199,8 @@ extern void occ_fsp_init(void);
/* flash support */
struct flash_chip;
extern int flash_register(struct flash_chip *chip, bool is_system_flash);
-extern bool flash_load_resource(enum resource_id id, uint32_t subid,
- void *buf, size_t *len);
+extern int flash_start_preload_resource(enum resource_id id, uint32_t subid,
+ void *buf, size_t *len);
extern bool flash_reserve(void);
extern void flash_release(void);