diff options
author | Karthick Sundarrajan <karthick.sundarrajan@intel.com> | 2019-11-20 02:51:11 +0300 |
---|---|---|
committer | Karthick Sundarrajan <karthick.sundarrajan@intel.com> | 2019-12-05 03:01:44 +0300 |
commit | 4213b26002f644927efdae94e0f8627c80df59a4 (patch) | |
tree | 37d8e1d1fbf6b8d296212f0dd40d870980ff603e /services/smbios/include/dimm.hpp | |
parent | 450456c8baad413d8d5fe9fc8a4720b173aaa433 (diff) | |
download | provingground-4213b26002f644927efdae94e0f8627c80df59a4.tar.xz |
Fix the peci_cmds utility
At present, the peci_cmds utility just accepts hex for all numerical inputs.
Fixed it to accept numericals in decimal or hex or octals.
Tested:
The index and Param in the output are in hex.
root@intel-obmc:~# peci_cmds rdpkgconfig 10 16 -v
PECI target[0x30]: Pkg Read of Index 0a Param 0010
cc:0x40 0x00000a9c
root@intel-obmc:~# peci_cmds rdpkgconfig 0x10 0x16 -v
PECI target[0x30]: Pkg Read of Index 10 Param 0016
cc:0x40 0x00690a00
Change-Id: Idce477653de9ad394b857196b652c66bd02e1e5c
Signed-off-by: Karthick Sundarrajan <karthick.sundarrajan@intel.com>
Diffstat (limited to 'services/smbios/include/dimm.hpp')
0 files changed, 0 insertions, 0 deletions