aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-10-11 13:22:20 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-10-11 13:22:20 +1100
commitf0a23e4fadcdc49f134e122fa134f183f2e172f7 (patch)
treef63008cd95fcbc5084ad2fafcf1dc2389d8ccfb9 /hw
parent862d870dee62f601374c7ed3f8fa73e9b21f9e24 (diff)
downloadskiboot-f0a23e4fadcdc49f134e122fa134f183f2e172f7.zip
skiboot-f0a23e4fadcdc49f134e122fa134f183f2e172f7.tar.gz
skiboot-f0a23e4fadcdc49f134e122fa134f183f2e172f7.tar.bz2
Revert "hw/phb3.c: preload the whole CAPP partition"
We should use the API properly. This reverts commit 0657bccb778cbe71fc8c00879826ca0217b7010d. Fixes: 0657bccb778cbe71fc8c00879826ca0217b7010d Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/phb3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/phb3.c b/hw/phb3.c
index e327225..46a9e96 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -2273,7 +2273,7 @@ static int64_t capp_lid_download(void)
capp_ucode_info.load_result = wait_for_resource_loaded(
RESOURCE_ID_CAPP,
- RESOURCE_SUBID_NONE);
+ capp_ucode_info.ec_level);
if (capp_ucode_info.load_result != OPAL_SUCCESS) {
prerror("CAPP: Error loading ucode lid. index=%x\n",
@@ -4726,7 +4726,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, RESOURCE_SUBID_NONE,
+ ret = start_preload_resource(RESOURCE_ID_CAPP, index,
capp_ucode_info.lid,
&capp_ucode_info.size);