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>
This commit is contained in:
parent
0ed02d00cb
commit
3b24bb6fc8
|
@ -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
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
#include <fsp/api.h>
|
||||
#include <stddef.h>
|
||||
|
||||
/* Provide a callback to allow mainboard to override the DRAM part number. */
|
||||
const char *mainboard_get_dram_part_num(void);
|
||||
void mainboard_memory_init_params(FSPM_UPD *mupd);
|
||||
void systemagent_early_init(void);
|
||||
void romstage_pch_init(void);
|
||||
|
|
|
@ -7,8 +7,6 @@
|
|||
|
||||
void mainboard_memory_init_params(FSPM_UPD *mupd);
|
||||
|
||||
/* Provide a callback to allow mainboard to override the DRAM part number. */
|
||||
const char *mainboard_get_dram_part_num(void);
|
||||
void systemagent_early_init(void);
|
||||
void romstage_pch_init(void);
|
||||
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
|
||||
#include <fsp/api.h>
|
||||
|
||||
/* Provide a callback to allow mainboard to override the DRAM part number. */
|
||||
const char *mainboard_get_dram_part_num(void);
|
||||
void mainboard_memory_init_params(FSPM_UPD *mupd);
|
||||
void systemagent_early_init(void);
|
||||
void romstage_pch_init(void);
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
|
||||
#include <fsp/api.h>
|
||||
|
||||
/* Provide a callback to allow mainboard to override the DRAM part number. */
|
||||
const char *mainboard_get_dram_part_num(void);
|
||||
void mainboard_memory_init_params(FSPM_UPD *mupd);
|
||||
void systemagent_early_init(void);
|
||||
void romstage_pch_init(void);
|
||||
|
|
|
@ -5,8 +5,6 @@
|
|||
|
||||
#include <fsp/api.h>
|
||||
|
||||
/* Provide a callback to allow mainboard to override the DRAM part number. */
|
||||
const char *mainboard_get_dram_part_num(void);
|
||||
void mainboard_memory_init_params(FSPM_UPD *mupd);
|
||||
void systemagent_early_init(void);
|
||||
void romstage_pch_init(void);
|
||||
|
|
Loading…
Reference in New Issue