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 <kenneth.chan@quanta.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91695
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Wu <david_wu@quanta.corp-partner.google.com>
Reviewed-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com>
This commit is contained in:
Kenneth Chan 2026-03-17 11:29:06 +08:00 committed by Subrata Banik
commit 9422dacdb8

View file

@ -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;