summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorFrank Chu <Frank_Chu@pegatron.corp-partner.google.com>2022-12-02 11:55:57 +0800
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2022-12-09 06:02:11 +0000
commit951fb00d4e5b467d9ec3ed1e73114fd42747b3b1 (patch)
treee3a7c7e1ded2982264c049b845a1f4738ac67cb1 /src/mainboard/google
parent14008751231124483d4854595592e228f2cdced0 (diff)
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 <Frank_Chu@pegatron.corp-partner.google.com> Change-Id: Ica25b2bc4325ff9d27be672926b4e3b550c86e96 Reviewed-on: https://review.coreboot.org/c/coreboot/+/70235 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Frank Chu <frank_chu@pegatron.corp-partner.google.com> Reviewed-by: Dtrain Hsu <dtrain_hsu@compal.corp-partner.google.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/brya/variants/marasov/memory.c8
1 files 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();