mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 00:32:04 +02:00
driver/ddr/fsl: Add workaround for DDR erratum A008511
This erratum only applies to general purpose DDR controllers in LS2. It shouldn't be applied to DP-DDR controller. Check DDRC versoin number before applying workaround. Signed-off-by: York Sun <yorksun@freescale.com>
This commit is contained in:
@@ -155,6 +155,8 @@ typedef struct ddr4_spd_eeprom_s generic_spd_eeprom_t;
|
||||
#define MD_CNTL_CKE_CNTL_HIGH 0x00200000
|
||||
#define MD_CNTL_WRCW 0x00080000
|
||||
#define MD_CNTL_MD_VALUE(x) (x & 0x0000FFFF)
|
||||
#define MD_CNTL_CS_SEL(x) (((x) & 0x7) << 28)
|
||||
#define MD_CNTL_MD_SEL(x) (((x) & 0xf) << 24)
|
||||
|
||||
/* DDR_CDR1 */
|
||||
#define DDR_CDR1_DHC_EN 0x80000000
|
||||
|
Reference in New Issue
Block a user