diff options
author | Nick Vaccaro <nvaccaro@google.com> | 2020-09-30 13:05:09 -0700 |
---|---|---|
committer | Nick Vaccaro <nvaccaro@google.com> | 2020-10-05 18:02:37 +0000 |
commit | 3b24bb6fc8c2a8b672775b70d020a1a8aa87b8e0 (patch) | |
tree | 609a656b762fa8c4769da6ca78cf10c0f030f6f6 /src/include | |
parent | 0ed02d00cb129f2aa3959116e1730d4d14da2a60 (diff) |
soc: move mainboard_get_dram_part_num prototype to memory_info.h
BUG=b:169774661, b:168724473
TEST="emerge-volteer coreboot && emerge-nocturne coreboot &&
emerge-dedede coreboot" and verify they build successfully.
Change-Id: I8b228475621ca1035fe13f8311355fc3b926e897
Signed-off-by: Nick Vaccaro <nvaccaro@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/45879
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/memory_info.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/memory_info.h b/src/include/memory_info.h index d9d9c37733..1ba73291a8 100644 --- a/src/include/memory_info.h +++ b/src/include/memory_info.h @@ -108,4 +108,10 @@ struct memory_info { struct dimm_info dimm[DIMM_INFO_TOTAL]; } __packed; +/* + * mainboard_get_dram_part_num returns a DRAM part number override string + * return NULL = no part number override provided by mainboard + * return non-NULL = pointer to a string terminating in '\0' + */ +const char *mainboard_get_dram_part_num(void); #endif |