Despite the UPD comments the Chx_RankEnable fields are a bit mask which indicates which ranks are enabled for physical channel. Add the ability to set the rank mask correctly for dual rank LPDDR4 modules.
BUG=chrome-os-partner:55446
Change-Id: I9dbed7bb6a4b512e57f6b4481180932a7cce91ff
17dbec1 soc/intel/apollolake: add dual rank option to meminit
src/soc/intel/apollolake/include/soc/meminit.h | 4 +++-
src/soc/intel/apollolake/meminit.c | 30 +++++++++++++++---------
2 files changed, 22 insertions(+), 12 deletions(-)
Upstream: review.coreboot.org