soc/mediatek: Add data_version to ddr_base_info struct
To sync with the dramc_param_common.h change [1] from MediaTek's DRAM
blob, change the u32 config_dvfs field to u16 and add a new field
data_version. As all MediaTek SoCs using the structure are little endian
and currently only bit 0 is used for the config_dvfs field, this change
is backward compatible. Therefore, each SoC's DRAMC_PARAM_HEADER_VERSION
doesn't need to be bumped.
[1] commit a39b473a0a7d ("common/cros: Support storing data version in
full-k cached data")
FIXED=415715491
TEST=emerge-skywalker coreboot
BRANCH=none
Change-Id: Ifcda7d360aefe083fc08c974e6dc62d1c9c12b5e
Signed-off-by: Yu-Ping Wu <yupingso@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/87912
Reviewed-by: Yidi Lin <yidilin@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
0cdd4125be
commit
8e3adf778b
1 changed files with 2 additions and 1 deletions
|
|
@ -90,7 +90,8 @@ enum SDRAM_VOLTAGE_TYPE {
|
|||
};
|
||||
|
||||
struct ddr_base_info {
|
||||
u32 config_dvfs; /* SDRAM_DVFS_FLAG */
|
||||
u16 config_dvfs; /* SDRAM_DVFS_FLAG */
|
||||
u16 data_version;
|
||||
struct sdram_info sdram;
|
||||
u16 lpddr_type;
|
||||
u16 voltage_type; /* SDRAM_VOLTAGE_TYPE */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue