mb/google/fatcat/var/lapis: Modify the gpio order of mem_id

According to the schematic diagram of lapis, refer to
the design of fatcat and modify the gpio order of mem_id.

BUG=b:438785495
TEST=emerge-fatcat coreboot
Change-Id: I715634e231725bbd009b35a0c520d19a894f569c
Signed-off-by: Hualin Wei <weihualin@huaqin.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/89066
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Weimin Wu <wuweimin@huaqin.corp-partner.google.com>
This commit is contained in:
Hualin Wei 2025-09-05 15:06:40 +08:00 committed by Matt DeVillier
commit 4fc5f7a843

View file

@ -74,17 +74,15 @@ int variant_memory_sku(void)
/*
* Memory configuration board straps
* MEM_STRAP_0 GPP_A13
* DIMM_SEL1 GPP_D24 (MEM_STRAP_1)
* DIMM_SEL2 GPP_B25 (MEM_STRAP_2)
* MEM_STRAP_3 GPP_B24
* DIMM_SEL0 GPP_D25
* DIMM_SEL1 GPP_D24
* DIMM_SEL2 GPP_B25
*/
gpio_t spd_gpios[] = {
GPP_A13,
GPP_B24,
GPP_D25,
GPP_D24,
GPP_B25,
GPP_B24,
};
return gpio_base2_value(spd_gpios, ARRAY_SIZE(spd_gpios));