diff options
Diffstat (limited to 'src/soc/intel/apollolake/meminit.c')
-rw-r--r-- | src/soc/intel/apollolake/meminit.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/soc/intel/apollolake/meminit.c b/src/soc/intel/apollolake/meminit.c index d744ac6a87..0a8a26d478 100644 --- a/src/soc/intel/apollolake/meminit.c +++ b/src/soc/intel/apollolake/meminit.c @@ -278,6 +278,12 @@ void meminit_lpddr4_enable_channel(FSP_M_CONFIG *cfg, int logical_chan, int fsp_rank_density; switch (rank_density_gb) { + case LP4_4Gb_DENSITY: + fsp_rank_density = 0; + break; + case LP4_6Gb_DENSITY: + fsp_rank_density = 1; + break; case LP4_8Gb_DENSITY: fsp_rank_density = 2; break; |