diff options
author | Rex-BC Chen <rex-bc.chen@mediatek.com> | 2021-05-13 11:53:48 +0800 |
---|---|---|
committer | Hung-Te Lin <hungte@chromium.org> | 2021-05-14 03:59:58 +0000 |
commit | 8a5441d5fb1ec8b73ffa28501170d968f7e37b2f (patch) | |
tree | 5c8c452910c9942aacaf1fdac9dd757525250679 /src/soc | |
parent | cdbedb680be3433b007e032eac8e9ce9540ad92f (diff) |
soc/mediatek: Remove duplicate enum declaration
Remove dram_cbt_mode in dramc_soc.h.
TEST=emerge-asurada coreboot
Signed-off-by: Rex-BC Chen <rex-bc.chen@mediatek.com>
Change-Id: Idc4a3887c9cc3f77cbdd7282e2977f6df858817d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54209
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Xi Chen <xixi.chen@mediatek.com>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/mediatek/common/include/soc/dramc_param.h | 2 | ||||
-rw-r--r-- | src/soc/mediatek/mt8192/include/soc/dramc_soc.h | 2 |
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 |