diff options
Diffstat (limited to 'src/soc/mediatek/mt8195')
-rw-r--r-- | src/soc/mediatek/mt8195/include/soc/dramc_param.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/soc/mediatek/mt8195/include/soc/dramc_param.h b/src/soc/mediatek/mt8195/include/soc/dramc_param.h index 0e1b62c9ea..bfa5f8d2e6 100644 --- a/src/soc/mediatek/mt8195/include/soc/dramc_param.h +++ b/src/soc/mediatek/mt8195/include/soc/dramc_param.h @@ -10,9 +10,10 @@ #include <stdint.h> #include <sys/types.h> +#include <soc/dramc_param_common.h> #include <soc/dramc_soc.h> -#define DRAMC_PARAM_HEADER_VERSION 7 +#define DRAMC_PARAM_HEADER_VERSION 8 enum DRAMC_PARAM_STATUS_CODES { DRAMC_SUCCESS = 0, @@ -27,10 +28,6 @@ enum DRAMC_PARAM_STATUS_CODES { DRAMC_ERR_FAST_CALIBRATION, }; -enum DRAMC_PARAM_FLAGS { - DRAMC_FLAG_HAS_SAVED_DATA = 0x0001, -}; - enum SDRAM_DVFS_FLAG { DRAMC_DISABLE_DVFS, DRAMC_ENABLE_DVFS, @@ -56,13 +53,6 @@ enum SDRAM_VOLTAGE_TYPE { SDRAM_VOLTAGE_LVCORE_LVDRAM, }; -struct dramc_param_header { - u16 version; /* DRAMC_PARAM_HEADER_VERSION, update in the coreboot */ - u16 size; /* size of whole dramc_param, update in the coreboot */ - u16 status; /* DRAMC_PARAM_STATUS_CODES, update in the dram blob */ - u16 flags; /* DRAMC_PARAM_FLAGS, update in the dram blob */ -}; - struct sdram_info { u32 ddr_type; /* SDRAM_DDR_TYPE */ u32 ddr_geometry; /* SDRAM_DDR_GEOMETRY_TYPE */ |