summaryrefslogtreecommitdiff
path: root/src/mainboard/google/auron/spd.c
blob: 0bb7dcbcd19b06645b58f80be00b34895680cada (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0-only */

#include <mainboard/google/auron/variant.h>
#include <soc/pei_wrapper.h>

void mb_get_spd_map(struct spd_info *spdi)
{
	spdi->spd_index = variant_get_spd_index();
	spdi->addresses[0] = SPD_MEMORY_DOWN;
	spdi->addresses[2] = variant_is_dual_channel(spdi->spd_index) ? SPD_MEMORY_DOWN : 0;
}