summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/include
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-07-21 10:20:58 -0500
committerAaron Durbin <adurbin@chromium.org>2016-07-22 18:51:29 +0200
commit48f662d941b124e48f0accdf3947d2957e7bbfed (patch)
tree6915cc39ad096363f530368aaa7201f6488e851d /src/soc/intel/apollolake/include
parentdd8ed42ed6bf94259aa6bc81138e894e43ef4008 (diff)
downloadcoreboot-48f662d941b124e48f0accdf3947d2957e7bbfed.tar.xz
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>
Diffstat (limited to 'src/soc/intel/apollolake/include')
-rw-r--r--src/soc/intel/apollolake/include/soc/meminit.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soc/intel/apollolake/include/soc/meminit.h b/src/soc/intel/apollolake/include/soc/meminit.h
index b619b95642..a7da1ac2bd 100644
--- a/src/soc/intel/apollolake/include/soc/meminit.h
+++ b/src/soc/intel/apollolake/include/soc/meminit.h
@@ -92,13 +92,13 @@ void meminit_lpddr4(struct FSP_M_CONFIG *cfg, int speed);
* to the memory reference code.
*/
void meminit_lpddr4_enable_channel(struct FSP_M_CONFIG *cfg, int logical_chan,
- int device_density, int dual_rank,
+ int rank_density, int dual_rank,
const struct lpddr4_swizzle_cfg *scfg);
struct lpddr4_sku {
int speed;
- int ch0_density;
- int ch1_density;
+ int ch0_rank_density;
+ int ch1_rank_density;
int ch0_dual_rank;
int ch1_dual_rank;
};