[Skiboot] [PATCH] external/xscom-utils: Add --list-bits
Stewart Smith
stewart at linux.vnet.ibm.com
Mon Aug 21 15:45:16 AEST 2017
Oliver O'Halloran <oohall at gmail.com> writes:
> When using getscom/putscom it's helpful to know what bits are set in the
> register. This patch adds an option to print out which bits are set
> along with the value that was read/written to the register. Note that
> this output indicates which bits are set using the IBM bit ordering
> since that's what the XSCOM documentation uses.
>
> Signed-off-by: Oliver O'Halloran <oohall at gmail.com>
> ---
> external/xscom-utils/getscom.c | 27 ++++++++++++++++++++++++---
> external/xscom-utils/putscom.c | 25 ++++++++++++++++++++++---
> external/xscom-utils/sram.c | 3 ---
> external/xscom-utils/xscom.h | 4 ++++
> 4 files changed, 50 insertions(+), 9 deletions(-)
Thanks - merged to master as of 2a54e4f87be5c39baecf9403f0faac5121d23358
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list