sdram: acquire per chip mrr info

This commit is contained in:
CTCaer
2024-02-12 04:08:39 +02:00
parent e9d2bdb124
commit 4576ed81ef
2 changed files with 40 additions and 13 deletions

View File

@@ -712,7 +712,7 @@ enum
EMC_CHAN1 = 1
};
typedef struct _emc_mr_data_t
typedef struct _emc_mr_chip_data_t
{
// Device 0.
u8 rank0_ch0;
@@ -721,6 +721,12 @@ typedef struct _emc_mr_data_t
// Device 1.
u8 rank1_ch0;
u8 rank1_ch1;
} emc_mr_chip_data_t;
typedef struct _emc_mr_data_t
{
emc_mr_chip_data_t chip0;
emc_mr_chip_data_t chip1;
} emc_mr_data_t;
#endif