commit | 467bce854789f09380d4429804e8b5875c632653 | [log] [tgz] |
---|---|---|
author | Zane Shelley <zshelle@us.ibm.com> | Thu Jul 15 20:16:54 2021 -0500 |
committer | Zane Shelley <zshelle@us.ibm.com> | Thu Jul 15 20:16:54 2021 -0500 |
tree | a7bb3c92276dca612383d38d02208c8a014e0039 | |
parent | bcb43957053a4bd53de88dc49aa267f08296b29f [diff] |
Allow chip data XML to not define registers This allows the flexibility that some other node, like the parent node, can define and capture registers and not force a node to redefine the same registers. Signed-off-by: Zane Shelley <zshelle@us.ibm.com> Change-Id: I3a9e5f478dd61887c8fa8c9f9f0fd880abbe3bf5
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