From bd51c60322df7bbbc5a6d2c7f7b53607287d9d94 Mon Sep 17 00:00:00 2001 From: Rishika Raj Date: Thu, 18 Jul 2024 17:59:19 +0000 Subject: [PATCH] mb/google/brya/variants/orisa: Change board strap memory config Reorder GPIO pin mapping as per platform documentation: * GPIO_MEM_CONFIG_0 -> GPP_E2 * GPIO_MEM_CONFIG_1 -> GPP_E1 * GPIO_MEM_CONFIG_2 -> GPP_E12 * GPIO_MEM_CONFIG_3 -> NC BUG=None TEST=emerge-nissa coreboot Change-Id: I4e979686833095a904b114500dc1142def583afa Signed-off-by: Rishika Raj Reviewed-on: https://review.coreboot.org/c/coreboot/+/83549 Reviewed-by: Eric Lai Reviewed-by: Amanda Hwang Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik --- src/mainboard/google/brya/variants/orisa/memory.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/mainboard/google/brya/variants/orisa/memory.c b/src/mainboard/google/brya/variants/orisa/memory.c index 2d738554ec..272a901335 100644 --- a/src/mainboard/google/brya/variants/orisa/memory.c +++ b/src/mainboard/google/brya/variants/orisa/memory.c @@ -78,14 +78,15 @@ int variant_memory_sku(void) { /* * Memory configuration board straps - * GPIO_MEM_CONFIG_0 GPP_E1 - * GPIO_MEM_CONFIG_1 GPP_E2 + * GPIO_MEM_CONFIG_0 GPP_E2 + * GPIO_MEM_CONFIG_1 GPP_E1 * GPIO_MEM_CONFIG_2 GPP_E12 + * GPIO_MEM_CONFIG_3 NC */ gpio_t spd_gpios[] = { - GPP_E1, GPP_E2, - GPP_E12, + GPP_E1, + GPP_E12 }; return gpio_base2_value(spd_gpios, ARRAY_SIZE(spd_gpios));