mb/google/volteer/variants/eldrid: add memory.c for ddr4 support
commit44097e21cc3dcb81690de68bbcda2b194ac427fe
authornick_xr_chen <nick_xr_chen@wistron.corp-partner.google.com>
Thu, 20 Aug 2020 08:43:55 +0000 (20 16:43 +0800)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 9 Sep 2020 13:37:41 +0000 (9 13:37 +0000)
tree7f860c49f25cfc642479dbf3c84f7071180a2fce
parent404a42bb3a7688274a3127f1b3873eee5a8808ad
mb/google/volteer/variants/eldrid: add memory.c for ddr4 support

Add new memory.c to support DDR4 memory types.

Use the new meminit_ddr() and variant_memory_sku() for eldrid variant
code on memory.c

The initial settings override the baseboard from volteer and fine tune
gpio.c and overridetree.cb on eldrid's configuration.

BUG=b:161772961
TEST='emerge-volteer coreboot chromeos-bootimage' and verify that Eldrid
can boots. NOTE that tests the ddr4 side of the implementation.

Change-Id: I2c7b30093a8d85bac5aba5b83768af5eb36c4f70
Signed-off-by: Nick Chen <nick_xr_chen@wistron.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44632
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Caveh Jalali <caveh@chromium.org>
src/mainboard/google/volteer/variants/eldrid/Makefile.inc [new file with mode: 0644]
src/mainboard/google/volteer/variants/eldrid/gpio.c [new file with mode: 0644]
src/mainboard/google/volteer/variants/eldrid/memory.c [new file with mode: 0644]
src/mainboard/google/volteer/variants/eldrid/overridetree.cb