commit | e46e425f5cdb241d63593d1391f2be332cf02990 | [log] [tgz] |
---|---|---|
author | Zane Shelley <zshelle@us.ibm.com> | Mon Dec 05 17:12:44 2022 -0600 |
committer | Zane Shelley <zshelle@us.ibm.com> | Wed Dec 07 14:11:08 2022 -0600 |
tree | 03d50c061a1abf8f56d417e7abf40ce6233fdd9e | |
parent | c3aa1648e26e167012afa4e12cbdd24a7e5cd8bb [diff] |
Change scope of auto-generated build info header This file is only needed when built in openpower-hw-diags for openbmc. It is not needed when built in Hostboot or other user applications. The header and supporting functions were pulled out of the rest of the libhei source so that it can build in Hostboot or other user applications. Signed-off-by: Zane Shelley <zshelle@us.ibm.com> Change-Id: Ica5e6e6141acfe1866459a43df448b5c6ee3d29e
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 -Dtests=disabled <build_dir> ninja -C <build_dir> ninja -C <build_dir> install
For a test / debug build, a typical configuration is:
meson -Dtests=enabled <build_dir> ninja -C <build_dir> test