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>
This commit is contained in:
@@ -129,7 +129,7 @@ struct ddr_base_info {
|
|||||||
u32 support_ranks;
|
u32 support_ranks;
|
||||||
u64 rank_size[RANK_MAX];
|
u64 rank_size[RANK_MAX];
|
||||||
struct emi_mdl emi_config;
|
struct emi_mdl emi_config;
|
||||||
dram_cbt_mode cbt_mode[RANK_MAX];
|
DRAM_CBT_MODE_T cbt_mode[RANK_MAX];
|
||||||
};
|
};
|
||||||
|
|
||||||
struct dramc_data {
|
struct dramc_data {
|
||||||
|
@@ -36,7 +36,7 @@ typedef enum {
|
|||||||
typedef enum {
|
typedef enum {
|
||||||
CBT_NORMAL_MODE = 0,
|
CBT_NORMAL_MODE = 0,
|
||||||
CBT_BYTE_MODE1
|
CBT_BYTE_MODE1
|
||||||
} DRAM_CBT_MODE_T, dram_cbt_mode;
|
} DRAM_CBT_MODE_T;
|
||||||
|
|
||||||
#define DRAM_DFS_SHU_MAX DRAM_DFS_SHUFFLE_MAX
|
#define DRAM_DFS_SHU_MAX DRAM_DFS_SHUFFLE_MAX
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user