summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/volteer/variants/eldrid
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-12-31 21:15:34 -0800
committerPatrick Georgi <pgeorgi@google.com>2021-01-25 08:48:57 +0000
commitf06d046c1041477adbd6e40a038667a620641b38 (patch)
tree9f7a6905178a62d327094756c0d08ff73bb4fc7d /src/mainboard/google/volteer/variants/eldrid
parent859ca18ced83ed3b8b529112da5f214ede3d38b0 (diff)
downloadcoreboot-f06d046c1041477adbd6e40a038667a620641b38.tar.gz
coreboot-f06d046c1041477adbd6e40a038667a620641b38.tar.bz2
coreboot-f06d046c1041477adbd6e40a038667a620641b38.zip
soc/intel/tgl and tgl mb/google,intel: Use the newly added meminit block driver
This change uses the newly added meminit block driver and updates TGL SoC and mainboard code accordingly. TEST=Verified that UPDs are configured correctly with and without this change. Change-Id: I6d58cd6568b7bbe03c4e3011b2301209893e85a9 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49042 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-by: EricR Lai <ericr_lai@compal.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google/volteer/variants/eldrid')
-rw-r--r--src/mainboard/google/volteer/variants/eldrid/memory.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mainboard/google/volteer/variants/eldrid/memory.c b/src/mainboard/google/volteer/variants/eldrid/memory.c
index 577734dbcf78..04dbe4492e14 100644
--- a/src/mainboard/google/volteer/variants/eldrid/memory.c
+++ b/src/mainboard/google/volteer/variants/eldrid/memory.c
@@ -4,16 +4,11 @@
#include <baseboard/variants.h>
#include <gpio.h>
-/*This mb_ddr4_cfg structure is intentionally left empty so that fields are left nil. */
-static const struct mb_ddr4_cfg eldrid_memcfg = {
+static const struct mb_cfg baseboard_memcfg = {
+ .type = MEM_TYPE_DDR4,
};
-static const struct ddr_memory_cfg baseboard_memcfg = {
- .mem_type = MEMTYPE_DDR4,
- .ddr4_cfg = &eldrid_memcfg
-};
-
-const struct ddr_memory_cfg *variant_memory_params(void)
+const struct mb_cfg *variant_memory_params(void)
{
return &baseboard_memcfg;
}