mb/google/fatcat/var/francka: Fix incorrect memory ram_id

Fix ram_id index is always "0".

Memory configuration board straps:
 GPIO_MEM_CONFIG_0	GPP_D08
 GPIO_MEM_CONFIG_1	GPP_D07

BUG=b:372395010, b:381992696
TEST=emerge-fatcat coreboot

Change-Id: I24ba06bc8d61ac5bd372ff4611d3ea876ac9bb92
Signed-off-by: Ian Feng <ian_feng@compal.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/86011
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
This commit is contained in:
Ian Feng 2025-01-16 09:53:59 +08:00 committed by Subrata Banik
commit 13a808749f

View file

@ -89,5 +89,5 @@ int variant_memory_sku(void)
void variant_get_spd_info(struct mem_spd *spd_info)
{
spd_info->topo = MEM_TOPO_MEMORY_DOWN;
spd_info->cbfs_index = 0;
spd_info->cbfs_index = variant_memory_sku();
}