summaryrefslogtreecommitdiff
path: root/src/mainboard/google/cyan
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-11-14 17:51:00 +0100
committerPatrick Georgi <pgeorgi@google.com>2018-11-16 15:48:04 +0000
commit28114ae71bd94c5db17073e1e9a96173331055be (patch)
tree6b716fce0c8b59dc40ddbf3d1d6e15211e70c793 /src/mainboard/google/cyan
parent0acb28a9c08d6bbb769e20f727469e701572cd3a (diff)
downloadcoreboot-28114ae71bd94c5db17073e1e9a96173331055be.tar.xz
SMBIOS: Remove duplicated smbios_memory_type enum
Change-Id: I49554d13f1b6371b85a58cc1263608ad9e99130e Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29638 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Diffstat (limited to 'src/mainboard/google/cyan')
-rw-r--r--src/mainboard/google/cyan/spd/spd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/cyan/spd/spd.c b/src/mainboard/google/cyan/spd/spd.c
index 7682677d69..b7b0c30c5d 100644
--- a/src/mainboard/google/cyan/spd/spd.c
+++ b/src/mainboard/google/cyan/spd/spd.c
@@ -138,9 +138,9 @@ static void set_dimm_info(uint8_t *spd, struct dimm_info *dimm)
/* Parse the SPD data to determine the DIMM information */
if (IS_ENABLED(CONFIG_BOARD_GOOGLE_CYAN)) {
- dimm->ddr_type = MEMORY_DEVICE_DDR3;
+ dimm->ddr_type = MEMORY_TYPE_DDR3;
} else {
- dimm->ddr_type = MEMORY_DEVICE_LPDDR3;
+ dimm->ddr_type = MEMORY_TYPE_LPDDR3;
}
dimm->dimm_size = capmb / 8 * busw / devw * ranks; /* MiB */
dimm->mod_type = spd[3] & 0xf;