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>
8 bool variant_mem_is_half_populated(void)
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
);