commit | 7b3420b34636e18a827f64bb467fa3c7e73edfbf | [log] [tgz] |
---|---|---|
author | Ben Tyner <ben.tyner@ibm.com> | Mon May 11 10:52:07 2020 -0500 |
committer | Zane Shelley <zshelle@us.ibm.com> | Wed May 13 01:16:35 2020 +0000 |
tree | 2a101f13e0c572d2b0aac5f1a0bb20e3d21af3d2 | |
parent | dd69c96b56f16f3f752b3e094230a2aac396e3ba [diff] |
Changed from HEI_READ_ONLY to HEI_ENABLE_HW_WRITE Changed conditional flag from from HEI_READ_ONLY to HEI_ENABLE_HW_WRITE Signed-off-by: Ben Tyner <ben.tyner@ibm.com> Change-Id: Id93d33e35d1026822a2081f5e10f5b6488aad9c3
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_ENABLE_HW_WRITE
: When defined, it will allow hardware write support. 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>