summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Vaccaro <nvaccaro@google.com>2020-09-30 09:55:53 -0700
committerNick Vaccaro <nvaccaro@google.com>2020-10-05 18:02:05 +0000
commitaef9ac97c7b84a5ca51d97d63c4134ffb1da6615 (patch)
treef4cfa12cba89b064ceb22f75bc4d5f29fe4d9bd9 /src
parent8975e7b0256cc60d2a3cd2a701d15c4d9d9a7ea3 (diff)
soc/intel/elkhartlake: add __weak to mainboard_get_dram_part_num()
Add missing __weak declaration to Elkhart Lake's definition of mainboard_get_dram_part_num(). BUG=b:169774482, b:168724473 TEST=none Change-Id: I883d662315a9ab91eb6183ebcdfd7e7cc8064c64 Signed-off-by: Nick Vaccaro <nvaccaro@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45871 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/elkhartlake/romstage/romstage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/elkhartlake/romstage/romstage.c b/src/soc/intel/elkhartlake/romstage/romstage.c
index d68d2dafd5..09b1744946 100644
--- a/src/soc/intel/elkhartlake/romstage/romstage.c
+++ b/src/soc/intel/elkhartlake/romstage/romstage.c
@@ -21,7 +21,7 @@
0x8d, 0x09, 0x11, 0xcf, 0x8b, 0x9f, 0x03, 0x23 \
}
-bool mainboard_get_dram_part_num(const char **part_num, size_t *len)
+bool __weak mainboard_get_dram_part_num(const char **part_num, size_t *len)
{
/* Default implementation, no need to override part number. */
return false;