From 9422dacdb8440b3ed4e0847581242d8dd265c88c Mon Sep 17 00:00:00 2001 From: Kenneth Chan Date: Tue, 17 Mar 2026 11:29:06 +0800 Subject: [PATCH] mb/google/brask/var/moxoe: Remove weak symbols for memory config Remove __weak to ensure variant-specific memory functions properly override the default implementations in the baseboard. BUG=b:481186489 BRANCH=firmware-brya-14505.B TEST=Build and boot on moxoe, verify memory initialization. Change-Id: Ifdd58963cbd0b108774708b085d73b6fb4af30aa Signed-off-by: Kenneth Chan Reviewed-on: https://review.coreboot.org/c/coreboot/+/91695 Tested-by: build bot (Jenkins) Reviewed-by: David Wu Reviewed-by: Ren Kuo --- src/mainboard/google/brya/variants/moxoe/memory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mainboard/google/brya/variants/moxoe/memory.c b/src/mainboard/google/brya/variants/moxoe/memory.c index 742ce7fe3a..b1f4005454 100644 --- a/src/mainboard/google/brya/variants/moxoe/memory.c +++ b/src/mainboard/google/brya/variants/moxoe/memory.c @@ -27,17 +27,17 @@ static const struct mb_cfg ddr5_mem_config = { }, }; -const struct mb_cfg *__weak variant_memory_params(void) +const struct mb_cfg *variant_memory_params(void) { return &ddr5_mem_config; } -bool __weak variant_is_half_populated(void) +bool variant_is_half_populated(void) { return false; } -void __weak variant_get_spd_info(struct mem_spd *spd_info) +void variant_get_spd_info(struct mem_spd *spd_info) { spd_info->topo = MEM_TOPO_DIMM_MODULE; spd_info->smbus[0].addr_dimm[0] = 0x50;