diff options
author | Furquan Shaikh <furquan@chromium.org> | 2017-12-05 14:48:44 -0800 |
---|---|---|
committer | Furquan Shaikh <furquan@google.com> | 2017-12-07 07:53:20 +0000 |
commit | 48be29e3920aef1254eca97298c4155864e72fc8 (patch) | |
tree | 89beaefb1118f7f5ef1b6b6888fea1992171d46d /src/mainboard/google/poppy/variants/nautilus/memory.c | |
parent | 9bfd8141fb62408c288ce43c1c9ce6a4e6128aa1 (diff) |
mb/google/poppy: Add support for DDR4 memory
This change updates memory SPD handling code in baseboard poppy to
allow variants to define either LPDDR3 or DDR4 memory types. In
addition to that, it also updates the function to print SPD info
considering offsets that might be different across the two memory
types.
BUG=b:70188937
Change-Id: Iefad01719c62264fb0d7e987904e77647d6026c2
Signed-off-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: https://review.coreboot.org/22745
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/google/poppy/variants/nautilus/memory.c')
-rw-r--r-- | src/mainboard/google/poppy/variants/nautilus/memory.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/nautilus/memory.c b/src/mainboard/google/poppy/variants/nautilus/memory.c index 508c299532..dc845bcb7f 100644 --- a/src/mainboard/google/poppy/variants/nautilus/memory.c +++ b/src/mainboard/google/poppy/variants/nautilus/memory.c @@ -37,6 +37,7 @@ static const u16 rcomp_target[] = { 100, 40, 40, 23, 40 }; void variant_memory_params(struct memory_params *p) { + p->type = MEMORY_LPDDR3; p->dq_map = dq_map; p->dq_map_size = sizeof(dq_map); p->dqs_map = dqs_map; |