From 8a5441d5fb1ec8b73ffa28501170d968f7e37b2f Mon Sep 17 00:00:00 2001 From: Rex-BC Chen Date: Thu, 13 May 2021 11:53:48 +0800 Subject: soc/mediatek: Remove duplicate enum declaration Remove dram_cbt_mode in dramc_soc.h. TEST=emerge-asurada coreboot Signed-off-by: Rex-BC Chen Change-Id: Idc4a3887c9cc3f77cbdd7282e2977f6df858817d Reviewed-on: https://review.coreboot.org/c/coreboot/+/54209 Tested-by: build bot (Jenkins) Reviewed-by: Yu-Ping Wu Reviewed-by: Xi Chen --- src/soc/mediatek/common/include/soc/dramc_param.h | 2 +- src/soc/mediatek/mt8192/include/soc/dramc_soc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/soc/mediatek') 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 -- cgit v1.2.3