diff options
author | Rishika Raj <rishikaraj@google.com> | 2024-07-18 17:59:19 +0000 |
---|---|---|
committer | Subrata Banik <subratabanik@google.com> | 2024-07-22 09:45:31 +0000 |
commit | bd51c60322df7bbbc5a6d2c7f7b53607287d9d94 (patch) | |
tree | 6feb550d3b3cdc0153f232a26a10b4ca6f57f09e /src | |
parent | 49bde8ce26e25ee41433ad6f59e6b234e99299c8 (diff) |
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 <rishikaraj@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83549
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Amanda Hwang <amanda_hwang@compal.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/brya/variants/orisa/memory.c | 9 |
1 files 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)); |