aboutsummaryrefslogtreecommitdiff
path: root/include/phb3.h
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2015-02-20 11:37:59 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-23 13:35:49 +1100
commit952377e097ea328e224a38953ce8ddd2cdda5fa9 (patch)
tree7c5e76a04a7eeb916102ffff0df70cffc926e92b /include/phb3.h
parent55f7e794b60fb8c86d447abd543b4d39f52be82a (diff)
downloadskiboot-952377e097ea328e224a38953ce8ddd2cdda5fa9.zip
skiboot-952377e097ea328e224a38953ce8ddd2cdda5fa9.tar.gz
skiboot-952377e097ea328e224a38953ce8ddd2cdda5fa9.tar.bz2
capi: Rework microcode flash download and CAPP upload
This reworks the CAPP microcode flash download and CAPP upload. We now use load_resource() to download microcode from flash rather than assuming we are on an FSP. This means we can download the microcode on PNOR based systems. Also, currently the code associates the microcode upload with the PHB. This means we store one copy of the microcode for every PHB in the system. This patch changes this so that we only save one copy of the microcode for the whole system. We mark if the microcode as been uploaded in the CAPP unit based on the chip, rather than the PHB. We add a check in case the system has two different chip ECs in the one system but such a Frankenmachine should never be built! We keep the microcode around in case we need it for a recovery event. It also harmonises the CAPP printks to look the same. Signed-off-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/phb3.h')
-rw-r--r--include/phb3.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/phb3.h b/include/phb3.h
index c004056..6276f1a 100644
--- a/include/phb3.h
+++ b/include/phb3.h
@@ -298,8 +298,6 @@ struct phb3 {
int64_t ecap; /* cached PCI-E cap offset */
int64_t aercap; /* cached AER ecap offset */
const __be64 *lane_eq;
- uint64_t capp_ucode_base;
- bool capp_ucode_loaded;
unsigned int max_link_speed;
uint16_t rte_cache[RTT_TABLE_SIZE/2];