diff options
author | Ryan Grimm <grimm@linux.vnet.ibm.com> | 2014-07-07 22:13:48 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2014-07-08 14:59:54 +1000 |
commit | 7a790f211b2e79dcb49b650128d50f2f39c4edde (patch) | |
tree | 7f98197107dc347aa08654081d6c538610a700b9 /include/capp.h | |
parent | be95322f21a46fe39057e7c04a6a714d62f16181 (diff) | |
download | skiboot-7a790f211b2e79dcb49b650128d50f2f39c4edde.zip skiboot-7a790f211b2e79dcb49b650128d50f2f39c4edde.tar.gz skiboot-7a790f211b2e79dcb49b650128d50f2f39c4edde.tar.bz2 |
phb3: Parse capp microcode lid if lid header in memory.
bml load and older firmware loads do not place the lid header in memory. Newer
firmware versions do. Look for lid header eyecatcher and if not found try
ucode eyecatcher to support bml and older firmware.
Signed-off-by: Ryan Grimm <grimm@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/capp.h')
-rw-r--r-- | include/capp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/capp.h b/include/capp.h index ddf280d..417e952 100644 --- a/include/capp.h +++ b/include/capp.h @@ -29,6 +29,15 @@ struct capp_ucode_data_hdr uint32_t num_data_chunks; /* Number of 8-byte chunks of data that follow this header */ }; +struct capp_lid_hdr { + uint64_t eyecatcher; + uint64_t version; + uint64_t lid_no; + uint64_t pad; + uint64_t ucode_offset; + uint64_t total_size; +}; + enum capp_reg { apc_master_cresp = 0x1, apc_master_uop_table = 0x2, |