diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-03-24 14:17:19 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-03-24 18:20:33 +1100 |
commit | c7897727e60c6ee3fa7e6aebe82f41538729c212 (patch) | |
tree | da16959472ad2a5512aeffe0c0e2fdfcb21f720c /include/skiboot.h | |
parent | c4730fb25a6ffd24aa2f9d505510dd45bc6f318c (diff) | |
download | skiboot-c7897727e60c6ee3fa7e6aebe82f41538729c212.zip skiboot-c7897727e60c6ee3fa7e6aebe82f41538729c212.tar.gz skiboot-c7897727e60c6ee3fa7e6aebe82f41538729c212.tar.bz2 |
Asynchronous LID/Resource loading for FSP systems
This moves away from using fsp_sync_msg in fsp_fetch_data and instead
using the platform hooks for start_preload_resource() to actually queue
up a load and having the plumbing for checking if a resource is loaded yet.
This gets rid of the "pollers called with locks held" warning we got
heaps of previously. You can now boot some FSP systems without getting
this warning at all.
This also sets the stage for starting load of LIDs much earlier to when
they're needed, improving boot time.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/skiboot.h')
-rw-r--r-- | include/skiboot.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/skiboot.h b/include/skiboot.h index 6cb9b2d..fc5bc1d 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 int flash_start_preload_resource(enum resource_id id, uint32_t subid, - void *buf, size_t *len); +extern int flash_load_resource(enum resource_id id, uint32_t subid, + void *buf, size_t *len); extern bool flash_reserve(void); extern void flash_release(void); |