From 951fb00d4e5b467d9ec3ed1e73114fd42747b3b1 Mon Sep 17 00:00:00 2001 From: Frank Chu Date: Fri, 2 Dec 2022 11:55:57 +0800 Subject: mb/google/brya/var/marasov: Remove __weak for memory override Drop the __weak qualifier as this function is not overridden. BUG=b:260565911 BRANCH=firmware-brya-14505.B TEST=emerge-brya coreboot chromeos-bootimage Signed-off-by: Frank Chu Change-Id: Ica25b2bc4325ff9d27be672926b4e3b550c86e96 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70235 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai Reviewed-by: Frank Chu Reviewed-by: Dtrain Hsu --- src/mainboard/google/brya/variants/marasov/memory.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mainboard/google/brya/variants/marasov/memory.c b/src/mainboard/google/brya/variants/marasov/memory.c index fb7c74857b..f05f40709b 100644 --- a/src/mainboard/google/brya/variants/marasov/memory.c +++ b/src/mainboard/google/brya/variants/marasov/memory.c @@ -70,12 +70,12 @@ static const struct mb_cfg baseboard_memcfg = { .UserBd = BOARD_TYPE_MOBILE, }; -const struct mb_cfg *__weak variant_memory_params(void) +const struct mb_cfg *variant_memory_params(void) { return &baseboard_memcfg; } -int __weak variant_memory_sku(void) +int variant_memory_sku(void) { /* * Memory configuration board straps @@ -92,7 +92,7 @@ int __weak variant_memory_sku(void) return gpio_base2_value(spd_gpios, ARRAY_SIZE(spd_gpios)); } -bool __weak variant_is_half_populated(void) +bool variant_is_half_populated(void) { /* * Ideally half_populated is used in platforms with multiple channels to @@ -106,7 +106,7 @@ bool __weak variant_is_half_populated(void) return gpio_get(GPP_E13); } -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_MEMORY_DOWN; spd_info->cbfs_index = variant_memory_sku(); -- cgit v1.2.3