Skip to content

Commit

Permalink
DDR3 Support for Fleetwood
Browse files Browse the repository at this point in the history
Change-Id: I991ca639d2917c2618dbf3eec65347bd794c2356
RTC:175881
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/61257
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: Roland Veloz <rveloz@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
bhmadhur authored and dcrowell77 committed Jun 26, 2018
1 parent cfc5fb7 commit cb5b45d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/usr/targeting/common/Targets.pm
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ sub prune
}
}

## This function returns the position of the Node corresponding to the
## This function returns the position of the Node corresponding to the
## incoming target
##
sub getParentNodePos
Expand Down Expand Up @@ -1590,7 +1590,7 @@ sub processMc
$self->setAttribute($membuf_child, "FAPI_POS", $fapi_pos);
$self->setAttribute($membuf_child, "ORDINAL_ID", $fapi_pos);
$self->setAttribute($membuf_child, "REL_POS", 0);

# HUID needs to be node relative
# L4 is 1 to 1 mapping with membuf
$self->{huid_idx}->{"L4"} = $membufnum;
Expand Down Expand Up @@ -1640,6 +1640,13 @@ sub processMc

## Trace the DDR busses to find connected DIMM
my $ddrs = $self->findConnections($membuf_child,"DDR4","");

if($ddrs eq "")
{
# on multi node system there is a possibility that either
# DDR4 or DDR3 dimms are connected under a node
my $ddrs = $self->findConnections($membuf_child,"DDR3","");
}
if ($ddrs ne "")
{
my $dimmPos=0;
Expand Down Expand Up @@ -1776,7 +1783,7 @@ sub setFsiAttributes
$self->setAttribute($target, "ALTFSI_MASTER_PORT", $fsi_port);
}
}

$self->setAttributeField($target, "FSI_OPTION_FLAGS","flipPort",
$flip_port);
$self->setAttributeField($target, "FSI_OPTION_FLAGS","reserved", "0");
Expand Down
7 changes: 7 additions & 0 deletions src/usr/targeting/common/processMrw.pl
Original file line number Diff line number Diff line change
Expand Up @@ -2235,6 +2235,13 @@ sub processMembuf
# follow the DDR4 bus connection to find the 'ddr' targets
my $ddrs = $targetObj->findConnections($child,"DDR4","");
if($ddrs eq "")
{
# on multi node system there is a possibility that either
# DDR4 or DDR3 dimms are connected under a node
my $ddrs = $targetObj->findConnections($child,"DDR3","");
}
if ($ddrs ne "")
{
foreach my $ddr (@{$ddrs->{CONN}})
Expand Down

0 comments on commit cb5b45d

Please sign in to comment.