mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
armv8/ls1043: Add workaround for DDR erratum A-008850
Barrier transactions from CCI400 need to be disabled till the DDR is configured, otherwise it may lead to system hang. The patch adds workaround to fix the erratum. Signed-off-by: Shengzhou Liu <Shengzhou.Liu@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
aeaec0e682
commit
074596c0b5
9 changed files with 49 additions and 16 deletions
|
@ -146,6 +146,10 @@ typedef struct ddr4_spd_eeprom_s generic_spd_eeprom_t;
|
|||
#define WR_DATA_DELAY_SHIFT 10
|
||||
#endif
|
||||
|
||||
/* DDR_EOR register */
|
||||
#define DDR_EOR_RD_REOD_DIS 0x07000000
|
||||
#define DDR_EOR_WD_REOD_DIS 0x00100000
|
||||
|
||||
/* DDR_MD_CNTL */
|
||||
#define MD_CNTL_MD_EN 0x80000000
|
||||
#define MD_CNTL_CS_SEL_CS0 0x00000000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue