From 48f662d941b124e48f0accdf3947d2957e7bbfed Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 21 Jul 2016 10:20:58 -0500 Subject: 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 Reviewed-on: https://review.coreboot.org/15773 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh Reviewed-by: Duncan Laurie --- src/mainboard/google/reef/romstage.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/mainboard/google/reef/romstage.c') diff --git a/src/mainboard/google/reef/romstage.c b/src/mainboard/google/reef/romstage.c index 74ead51bea..f9743b5f34 100644 --- a/src/mainboard/google/reef/romstage.c +++ b/src/mainboard/google/reef/romstage.c @@ -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, }, }; -- cgit v1.2.3