summaryrefslogtreecommitdiff
path: root/src/mainboard/google/asurada/sdram_params/sdram-lpddr4x-DISCRETE-2RANK-8GB.c
diff options
context:
space:
mode:
authorXi Chen <xixi.chen@mediatek.com>2021-03-03 17:49:14 +0800
committerHung-Te Lin <hungte@chromium.org>2021-03-08 03:16:02 +0000
commit05764cd6c913deab616d958838f5000ed8d0fbad (patch)
treef1f94644b7a5c755be32533aef7de46dd190883b /src/mainboard/google/asurada/sdram_params/sdram-lpddr4x-DISCRETE-2RANK-8GB.c
parent4c7bf7eaaf5c185272b947fd6a1c8da7dbe01edf (diff)
mb/google/asurada: Add generic DRAM groups
To reduce qualification effort, we want to pre-populate DRAM by their size, package type and geometry so when a new DRAM is introduced we don't need to spin off a new firmware release. Signed-off-by: Hung-Te Lin <hungte@chromium.org> Signed-off-by: Xi Chen <xixi.chen@mediatek.com> Change-Id: I42ee170c159e551e840ab4e748f18f5149506b4f Reviewed-on: https://review.coreboot.org/c/coreboot/+/51202 Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/asurada/sdram_params/sdram-lpddr4x-DISCRETE-2RANK-8GB.c')
-rw-r--r--src/mainboard/google/asurada/sdram_params/sdram-lpddr4x-DISCRETE-2RANK-8GB.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/asurada/sdram_params/sdram-lpddr4x-DISCRETE-2RANK-8GB.c b/src/mainboard/google/asurada/sdram_params/sdram-lpddr4x-DISCRETE-2RANK-8GB.c
new file mode 100644
index 0000000000..3d12588c4b
--- /dev/null
+++ b/src/mainboard/google/asurada/sdram_params/sdram-lpddr4x-DISCRETE-2RANK-8GB.c
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#include <soc/dramc_param.h>
+
+struct sdram_info params = {
+ .ddr_geometry = DDR_TYPE_2CH_2RK_8GB_4_4,
+ .ddr_type = DDR_TYPE_DISCRETE,
+};