mainboard/intel/avenuecity_crb: Update full IIO configuration
[coreboot2.git] / src / mainboard / google / dedede / variants / waddledee / memory.c
blob2c81650887ae359a8cb8947941cef2604ffdb1bd
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #include <baseboard/variants.h>
4 #include <baseboard/gpio.h>
5 #include <ec/google/chromeec/ec.h>
6 #include <gpio.h>
8 bool variant_mem_is_half_populated(void)
10 uint32_t board_ver;
12 /* On boards where board version is populated, ram strap is also populated */
13 if (!google_chromeec_get_board_version(&board_ver))
14 return !gpio_get(GPIO_MEM_CH_SEL);
16 return false;