commit | 3b2760b2a61b29ad70bf6b222973b992b495fdbf | [log] [tgz] |
---|---|---|
author | Caleb Palmer <cnpalmer@us.ibm.com> | Wed Mar 08 15:01:33 2023 -0600 |
committer | Caleb Palmer <cnpalmer@us.ibm.com> | Thu Mar 09 17:28:33 2023 -0600 |
tree | 34426da70d6643a72f8a61f12fa2160ee7919fc8 | |
parent | 2d2534f6259bdf86621bb0583087800a24953fe4 [diff] |
Add chip_config meson build option There will not be a need to build all chip data files in every release so this option is being added to allow for more control over what is built. Change-Id: I059640525f6826d67c406fe4a25bcec301582d6e Signed-off-by: Caleb Palmer <cnpalmer@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_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