Skip to content

Commit

Permalink
Added values for CVPD_SIZE and CVPD_MAX_SECTIONS in processMrw
Browse files Browse the repository at this point in the history
Change-Id: Ide479fe0faea84424e3f6abf5d5291b823fef934
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50663
Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Richard J. Knight <rjknight@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
  • Loading branch information
Prachi Gupta authored and wghoffa committed Dec 11, 2017
1 parent 421bf8c commit 94d8aba
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/usr/targeting/common/processMrw.pl
Expand Up @@ -399,6 +399,23 @@ sub processSystem
{
$num_voltage_rails_per_proc = 2;
}
# TODO RTC:182764 -- right now there is no support for CDIMMs. So,
# we don't know what to base these attributes off of. But, once
# we get CDIMM support in processMrw, then we should base these
# attributes on the type of DIMMs
if ($system_name =~ /ZEPPELIN/i)
{
#Zeppelin has ISDIMM with 10K VPD
$targetObj->setAttribute($target, "CVPD_SIZE", 0x2800);
$targetObj->setAttribute($target, "CVPD_MAX_SECTIONS", 25);
}
elsif ($system_name =~ /FLEETWOOD/i)
{
#Fleetwood has CDIMM with 4K VPD
$targetObj->setAttribute($target, "CVPD_SIZE", 0x1000);
$targetObj->setAttribute($target, "CVPD_MAX_SECTIONS", 64);
}
}
sub processIpmiSensors {
Expand Down

0 comments on commit 94d8aba

Please sign in to comment.