summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/soc/mediatek/common/include/soc/dramc_param.h2
-rw-r--r--src/soc/mediatek/mt8192/include/soc/dramc_soc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/common/include/soc/dramc_param.h b/src/soc/mediatek/common/include/soc/dramc_param.h
index 00bf7c0431..7794a7317f 100644
--- a/src/soc/mediatek/common/include/soc/dramc_param.h
+++ b/src/soc/mediatek/common/include/soc/dramc_param.h
@@ -129,7 +129,7 @@ struct ddr_base_info {
u32 support_ranks;
u64 rank_size[RANK_MAX];
struct emi_mdl emi_config;
- dram_cbt_mode cbt_mode[RANK_MAX];
+ DRAM_CBT_MODE_T cbt_mode[RANK_MAX];
};
struct dramc_data {
diff --git a/src/soc/mediatek/mt8192/include/soc/dramc_soc.h b/src/soc/mediatek/mt8192/include/soc/dramc_soc.h
index 1b90eb134e..8710563160 100644
--- a/src/soc/mediatek/mt8192/include/soc/dramc_soc.h
+++ b/src/soc/mediatek/mt8192/include/soc/dramc_soc.h
@@ -36,7 +36,7 @@ typedef enum {
typedef enum {
CBT_NORMAL_MODE = 0,
CBT_BYTE_MODE1
-} DRAM_CBT_MODE_T, dram_cbt_mode;
+} DRAM_CBT_MODE_T;
#define DRAM_DFS_SHU_MAX DRAM_DFS_SHUFFLE_MAX