summaryrefslogtreecommitdiffstats
path: root/src/import/tools
diff options
context:
space:
mode:
authorMatt Derksen <mderkse1@us.ibm.com>2017-08-08 12:24:55 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2019-07-03 08:35:54 -0500
commit2b061c6081d430d8aaeb88d8939a24596df59310 (patch)
treeae58103111c6b0596525124d2974e5b9699fa482 /src/import/tools
parentc0f21a7774f4a8007279539023667e42835b42e0 (diff)
downloadtalos-hostboot-2b061c6081d430d8aaeb88d8939a24596df59310.tar.gz
talos-hostboot-2b061c6081d430d8aaeb88d8939a24596df59310.zip
Signed windage values not picked up in MT keyword generation
Change-Id: Ib80ccb3dc986d1a1c66872c450874b670bb65a4b Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/44361 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: FEIHONG YAN <fyan@us.ibm.com> Reviewed-by: BRADLEY REID <breid@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com> Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/79906 Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/import/tools')
-rwxr-xr-xsrc/import/tools/genMemVpd.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/tools/genMemVpd.pl b/src/import/tools/genMemVpd.pl
index ee491d4d4..ce1ba352a 100755
--- a/src/import/tools/genMemVpd.pl
+++ b/src/import/tools/genMemVpd.pl
@@ -1493,7 +1493,7 @@ sub newNum
{
my ( $value, $type ) = @_;
- my ($decSize) = $type =~ /u(\d+)/;
+ my ($sign, $decSize) = $type =~ /(u|s)(\d+)/;
my $byteSize = $decSize / 8;
my %number = ();
@@ -1510,7 +1510,7 @@ sub str2num
my $value = shift;
my $type = shift;
- my ($decSize) = $type =~ /u(\d+)/;
+ my ($sign, $decSize) = $type =~ /(u|s)(\d+)/;
my $byteSize = $decSize / 8;
$ref_num->{NUM_VALUE} = str2value($value);
OpenPOWER on IntegriCloud