commit | dd69c96b56f16f3f752b3e094230a2aac396e3ba | [log] [tgz] |
---|---|---|
author | Zane Shelley <zshelle@us.ibm.com> | Tue May 05 22:19:11 2020 -0500 |
committer | Zane Shelley <zshelle@us.ibm.com> | Fri May 08 21:47:16 2020 -0500 |
tree | de752947601612010e7aeb9115e12fe06bedf326 | |
parent | 01e590b752118f09db9f89f6aa37ab6b4b22cb84 [diff] |
Initial support to parse a Chip Data File Change-Id: Ib5a7d8344922f8288c23f5bedd304e282dcfaada Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
This library is a common, portable code base for isolating errors reported by hardware registers on POWER Systems chips.
The primary consumers (and requirements drivers) will be:
See the primary API definitions for details on how to use this library.
This library can be integrated into a user application's source (either imported, or as a git subtree/submodule) or built as static library.
__HEI_READ_ONLY
: When defined, it will ensure any hardware write support is disabled. Note that the Chip Data Files will contain rules for clearing and masking register bits. Both of which will require modifying hardware registers, which is not allowed by user applications like OpenBMC or FSP firmware.src/include/
in the POWER Systems Hostboot firmware.For a standard OpenBMC release build, you want something like:
meson setup -Dtests=disabled <build_dir> ninja -C <build_dir> ninja -C <build_dir> install
For a test / debug build, a typical configuration is:
meson setup -Dtests=enabled <build_dir> meson test -C <build_dir>