diff options
author | Srikanth Srinivasan <srikanth.srinivasan@freescale.com> | 2010-01-06 15:04:49 +0800 |
---|---|---|
committer | Scott Sweeny <scott.sweeny@timesys.com> | 2010-09-29 17:32:28 -0400 |
commit | ba2c05a72faf66fd23063cf066d8500539eb4e1c (patch) | |
tree | 1795d2ccd0cdc12884dc3d85d9499f25ebec8678 /include | |
parent | a2e96efa3ba3850e51e969ee5d8f1a104548fc9c (diff) |
fixed for sata errata
On P1022, the data snoop bit (in the sata ip) is at bit 28.
Account for this. Additionally, change the mode to enterprise mode
since on reset, it is in legacy mode.
Signed-off-by: Srikanth Srinivasan <srikanth.srinivasan@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/P1022DS.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h index 447f32904e..4fc39be3d3 100644 --- a/include/configs/P1022DS.h +++ b/include/configs/P1022DS.h @@ -531,6 +531,14 @@ extern unsigned long calculate_board_ddr_clk(unsigned long dummy); #define CONFIG_SYS_SATA2 CONFIG_SYS_MPC85xx_SATA2_ADDR #define CONFIG_SYS_SATA2_FLAGS FLAGS_DMA +/* Change from legacy to enterprise mode */ +#define CONFIG_P1022_LEGACY_ERRATUM_WORKAROUND 1 + +/* In Rev 2.0 of SATA IP, the DATA SNOOP bit is 28 instead of 22 + * in older revs. Not sure if this will be listed as an erratum. + */ +#define CONFIG_P1022_SATA_SNOOP_BIT_SHIFTED 1 + #ifdef CONFIG_FSL_SATA #define CONFIG_LBA48 #define CONFIG_CMD_SATA |