soc/intel/apollolake: clarify meaning of LPDDR4 density meaning
The 'dram density' is a misnomer because the memory initialization code treats that input parameter as a per rank density. Therefore, update the variables to further clarify how it's actually being used. BUG=chrome-os-partner:55446 Change-Id: Ie4c944f35b531812205ac0bb1c70f39ac401495e Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/15773 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
This commit is contained in:
@@ -78,16 +78,16 @@ static const struct lpddr4_sku skus[] = {
|
||||
*/
|
||||
[0] = {
|
||||
.speed = LP4_SPEED_2400,
|
||||
.ch0_density = LP4_8Gb_DENSITY,
|
||||
.ch1_density = LP4_8Gb_DENSITY,
|
||||
.ch0_rank_density = LP4_8Gb_DENSITY,
|
||||
.ch1_rank_density = LP4_8Gb_DENSITY,
|
||||
.ch0_dual_rank = 1,
|
||||
.ch1_dual_rank = 1,
|
||||
},
|
||||
/* K4F8E304HB-MGCJ - both logical channels */
|
||||
[1] = {
|
||||
.speed = LP4_SPEED_2400,
|
||||
.ch0_density = LP4_8Gb_DENSITY,
|
||||
.ch1_density = LP4_8Gb_DENSITY,
|
||||
.ch0_rank_density = LP4_8Gb_DENSITY,
|
||||
.ch1_rank_density = LP4_8Gb_DENSITY,
|
||||
},
|
||||
/*
|
||||
* MT53B512M32D2NP-062WT:C - both logical channels. While the parts
|
||||
@@ -96,22 +96,22 @@ static const struct lpddr4_sku skus[] = {
|
||||
*/
|
||||
[2] = {
|
||||
.speed = LP4_SPEED_2400,
|
||||
.ch0_density = LP4_8Gb_DENSITY,
|
||||
.ch1_density = LP4_8Gb_DENSITY,
|
||||
.ch0_rank_density = LP4_8Gb_DENSITY,
|
||||
.ch1_rank_density = LP4_8Gb_DENSITY,
|
||||
.ch0_dual_rank = 1,
|
||||
.ch1_dual_rank = 1,
|
||||
},
|
||||
/* MT53B256M32D1NP-062 WT:C - both logical channels */
|
||||
[3] = {
|
||||
.speed = LP4_SPEED_2400,
|
||||
.ch0_density = LP4_8Gb_DENSITY,
|
||||
.ch1_density = LP4_8Gb_DENSITY,
|
||||
.ch0_rank_density = LP4_8Gb_DENSITY,
|
||||
.ch1_rank_density = LP4_8Gb_DENSITY,
|
||||
},
|
||||
/* K4F8E304HB-MGCH - both logical channels */
|
||||
[PROTO_SKU] = {
|
||||
.speed = LP4_SPEED_2400,
|
||||
.ch0_density = LP4_8Gb_DENSITY,
|
||||
.ch1_density = LP4_8Gb_DENSITY,
|
||||
.ch0_rank_density = LP4_8Gb_DENSITY,
|
||||
.ch1_rank_density = LP4_8Gb_DENSITY,
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user