diff options
author | Anton Blanchard <anton@samba.org> | 2016-08-30 07:20:34 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-09-06 16:24:16 +1000 |
commit | 5fff4b8c750657272fe03f9032a8f7911e1e5b20 (patch) | |
tree | b9401d858c1cf5769f09d2012a8ba83881ea1a96 /skiboot.spec | |
parent | d4b92ad3328c1dd332a18fe6de6751198d8de2ab (diff) | |
download | skiboot-5fff4b8c750657272fe03f9032a8f7911e1e5b20.zip skiboot-5fff4b8c750657272fe03f9032a8f7911e1e5b20.tar.gz skiboot-5fff4b8c750657272fe03f9032a8f7911e1e5b20.tar.bz2 |
getscom/getsram/putscom: Parse chip-id as hex
We print the chip-id in hex (without a leading 0x), but we fail to
parse that same value correctly in getscom/getsram/putscom:
# getscom -l
...
80000000 | DD2.0 | Centaur memory buffer
# getscom -c 80000000 201140a
Error -19 reading XSCOM
Fix this by assuming base 16 when parsing chip-id.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'skiboot.spec')
0 files changed, 0 insertions, 0 deletions