diff options
-rw-r--r-- | src/mainboard/google/rex/variants/ovis/Makefile.inc | 1 | ||||
-rw-r--r-- | src/mainboard/google/rex/variants/ovis/memory.c | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/mainboard/google/rex/variants/ovis/Makefile.inc b/src/mainboard/google/rex/variants/ovis/Makefile.inc index 2fa692abed..b7851227d7 100644 --- a/src/mainboard/google/rex/variants/ovis/Makefile.inc +++ b/src/mainboard/google/rex/variants/ovis/Makefile.inc @@ -1,3 +1,4 @@ bootblock-y += gpio.c romstage-y += gpio.c +romstage-y += memory.c ramstage-y += gpio.c diff --git a/src/mainboard/google/rex/variants/ovis/memory.c b/src/mainboard/google/rex/variants/ovis/memory.c new file mode 100644 index 0000000000..f3cdf5ff28 --- /dev/null +++ b/src/mainboard/google/rex/variants/ovis/memory.c @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ + +#include <baseboard/variants.h> + +bool variant_is_half_populated(void) +{ + /* + * FIXME: b/290253752 - Memory Capacity is incorrect + * MEM_CH_SEL GPIO (GPP_E13) is not working as expected on Ovis as result + * channel select configuration is set to single (MC0) instead dual (MC0/1). + * Only MC0 is reporting DIMM attached and MC1 is disable. + * + * W/A: Always report full memory capacity as in dual channel (MC0/1). + */ + return false; +} |