soc/mediatek/common: Move DRAMC function declarations to common header
To promote code reuse and maintainability, this commit moves the DRAMC parameter function declarations to the common folder. BUG=b:379008996 BRANCH=none TEST=build passed Signed-off-by: Vince Liu <vince-wl.liu@mediatek.corp-partner.google.com> Change-Id: Iab24f07b4c02da22779ea1c76f3237c144d92b98 Reviewed-on: https://review.coreboot.org/c/coreboot/+/87209 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com>
This commit is contained in:
parent
af3076b1f9
commit
ccb987fa66
6 changed files with 5 additions and 26 deletions
|
|
@ -103,5 +103,10 @@ struct ddr_base_info {
|
|||
};
|
||||
|
||||
const struct sdram_info *get_sdram_config(void);
|
||||
struct dramc_param *get_dramc_param_from_blob(void *blob);
|
||||
void dump_param_header(const void *blob);
|
||||
int validate_dramc_param(const void *blob);
|
||||
int is_valid_dramc_param(const void *blob);
|
||||
int initialize_dramc_param(void *blob);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -78,8 +78,4 @@ struct dramc_param {
|
|||
struct dramc_data dramc_datas;
|
||||
};
|
||||
|
||||
struct dramc_param *get_dramc_param_from_blob(void *blob);
|
||||
void dump_param_header(const void *blob);
|
||||
int initialize_dramc_param(void *blob);
|
||||
|
||||
#endif /* __SOC_MEDIATEK_MT8186_DRAMC_PARAM_H__ */
|
||||
|
|
|
|||
|
|
@ -98,10 +98,4 @@ struct dramc_param {
|
|||
struct dramc_data dramc_datas;
|
||||
};
|
||||
|
||||
struct dramc_param *get_dramc_param_from_blob(void *blob);
|
||||
void dump_param_header(const void *blob);
|
||||
int validate_dramc_param(const void *blob);
|
||||
int is_valid_dramc_param(const void *blob);
|
||||
int initialize_dramc_param(void *blob);
|
||||
|
||||
#endif /* __SOC_MEDIATEK_MT8188_DRAMC_PARAM_H__ */
|
||||
|
|
|
|||
|
|
@ -73,9 +73,4 @@ struct dramc_param {
|
|||
struct dramc_data dramc_datas;
|
||||
};
|
||||
|
||||
struct dramc_param *get_dramc_param_from_blob(void *blob);
|
||||
void dump_param_header(const void *blob);
|
||||
int validate_dramc_param(const void *blob);
|
||||
int is_valid_dramc_param(const void *blob);
|
||||
int initialize_dramc_param(void *blob);
|
||||
#endif /* __SOC_MEDIATEK_MT8192_DRAMC_PARAM_H__ */
|
||||
|
|
|
|||
|
|
@ -73,9 +73,4 @@ struct dramc_param {
|
|||
struct dramc_data dramc_datas;
|
||||
};
|
||||
|
||||
struct dramc_param *get_dramc_param_from_blob(void *blob);
|
||||
void dump_param_header(const void *blob);
|
||||
int validate_dramc_param(const void *blob);
|
||||
int is_valid_dramc_param(const void *blob);
|
||||
int initialize_dramc_param(void *blob);
|
||||
#endif /* __SOC_MEDIATEK_MT8195_DRAMC_PARAM_H__ */
|
||||
|
|
|
|||
|
|
@ -105,10 +105,4 @@ struct dramc_param {
|
|||
struct dramc_data dramc_datas;
|
||||
};
|
||||
|
||||
struct dramc_param *get_dramc_param_from_blob(void *blob);
|
||||
void dump_param_header(const void *blob);
|
||||
int validate_dramc_param(const void *blob);
|
||||
int is_valid_dramc_param(const void *blob);
|
||||
int initialize_dramc_param(void *blob);
|
||||
|
||||
#endif /* __SOC_MEDIATEK_MT8196_DRAMC_PARAM_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue