diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2014-11-13 11:27:49 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-12-05 08:06:13 -0800 |
commit | b24f6d401c3270370b9c147cb9decf95dc6804d3 (patch) | |
tree | 0836d857c8714b1300261e8be5e99ff4c66147d9 /board/freescale/common/vsc3316_3308.h | |
parent | cd79e5f41402f1e717b988d3368c033660ead821 (diff) | |
download | u-boot-b24f6d401c3270370b9c147cb9decf95dc6804d3.tar.gz u-boot-b24f6d401c3270370b9c147cb9decf95dc6804d3.tar.xz u-boot-b24f6d401c3270370b9c147cb9decf95dc6804d3.zip |
powerpc/b4860qds: add workaround for XFI
XFI does not work stable on current board, it's due to heat sink issue,
to make it work stable the board needs additional heat sink, enable two
XFI lanes only. Right now we do not have such an erratum for the issue,
so use a define CONFIG_SYS_FSL_B4860QDS_XFI_ERR to identify it.
The workaround will only be used in XFI protocols and only if the
hwconfig indicates that XFI is prefered.
A new VSC3308 config function is used instead of re-use the original
function, to avoid making the function complex and ugly.
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'board/freescale/common/vsc3316_3308.h')
-rw-r--r-- | board/freescale/common/vsc3316_3308.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/freescale/common/vsc3316_3308.h b/board/freescale/common/vsc3316_3308.h index 2a49187779..d722ea39d6 100644 --- a/board/freescale/common/vsc3316_3308.h +++ b/board/freescale/common/vsc3316_3308.h @@ -14,6 +14,10 @@ int vsc_if_enable(unsigned int vsc_addr); int vsc3316_config(unsigned int vsc_addr, int8_t con_arr[][2], unsigned int num_con); +#ifdef CONFIG_SYS_FSL_B4860QDS_XFI_ERR +int vsc3308_config_adjust(unsigned int vsc_addr, const int8_t con_arr[][2], + unsigned int num_con); +#endif int vsc3308_config(unsigned int vsc_addr, const int8_t con_arr[][2], unsigned int num_con); void vsc_wp_config(unsigned int vsc_addr); |