coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
memory.c File Reference
#include <baseboard/variants.h>
#include <baseboard/gpio.h>
#include <ec/google/chromeec/ec.h>
#include <gpio.h>
Include dependency graph for memory.c:

Go to the source code of this file.

Functions

bool variant_mem_is_half_populated (void)
 Get data whether memory channel is half-populated or not. More...
 

Function Documentation

◆ variant_mem_is_half_populated()

bool variant_mem_is_half_populated ( void  )

Get data whether memory channel is half-populated or not.

Returns
false on boards where memory channel is half-populated, true otherwise.

Definition at line 8 of file memory.c.

References google_chromeec_get_board_version(), gpio_get(), and GPIO_MEM_CH_SEL.

Referenced by mainboard_memory_init_params().

Here is the call graph for this function:
Here is the caller graph for this function: