diff options
author | Claudio Carvalho <cclaudio@linux.vnet.ibm.com> | 2016-09-28 05:10:54 -0300 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-10-10 15:29:36 +1100 |
commit | 0657bccb778cbe71fc8c00879826ca0217b7010d (patch) | |
tree | caedb8e5c7be34fd511b1243e15fe94dce914671 /hw | |
parent | bd4038dc52b469e471f8adff4a8cfc0d475ff49d (diff) | |
download | skiboot-0657bccb778cbe71fc8c00879826ca0217b7010d.zip skiboot-0657bccb778cbe71fc8c00879826ca0217b7010d.tar.gz skiboot-0657bccb778cbe71fc8c00879826ca0217b7010d.tar.bz2 |
hw/phb3.c: preload the whole CAPP partition
This change preloads the whole CAPP partition.
We decided to build a container for the whole CAPP lid as opposed to
have one for the TOC and one for each subpartition.
Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/phb3.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2272,7 +2272,7 @@ static int64_t capp_lid_download(void) capp_ucode_info.load_result = wait_for_resource_loaded( RESOURCE_ID_CAPP, - capp_ucode_info.ec_level); + RESOURCE_SUBID_NONE); if (capp_ucode_info.load_result != OPAL_SUCCESS) { prerror("CAPP: Error loading ucode lid. index=%x\n", @@ -4706,7 +4706,7 @@ int phb3_preload_capp_ucode(void) printf("CAPI: Preloading ucode %x\n", capp_ucode_info.ec_level); - ret = start_preload_resource(RESOURCE_ID_CAPP, index, + ret = start_preload_resource(RESOURCE_ID_CAPP, RESOURCE_SUBID_NONE, capp_ucode_info.lid, &capp_ucode_info.size); |