diff options
author | Dave Liu <r63238@freescale.com> | 2008-03-31 17:05:12 +0800 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2008-04-11 17:46:18 -0500 |
commit | 5fb5a689d822ca61e814bd523fc930af335242fa (patch) | |
tree | 341cbb326ba21f2b90260e1609dc986faedfa60e /board | |
parent | 2000784818f043db7ca60e2846a72d097766b894 (diff) | |
download | u-boot-imx-5fb5a689d822ca61e814bd523fc930af335242fa.zip u-boot-imx-5fb5a689d822ca61e814bd523fc930af335242fa.tar.gz u-boot-imx-5fb5a689d822ca61e814bd523fc930af335242fa.tar.bz2 |
mpc83xx: Fix the bug of serdes initialization
Currently the serdes will not be initializated due to the
partid's error.
Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/freescale/mpc837xemds/mpc837xemds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/freescale/mpc837xemds/mpc837xemds.c b/board/freescale/mpc837xemds/mpc837xemds.c index f7cd5fe..40a505b 100644 --- a/board/freescale/mpc837xemds/mpc837xemds.c +++ b/board/freescale/mpc837xemds/mpc837xemds.c @@ -36,7 +36,7 @@ int board_early_init_f(void) u32 spridr = in_be32(&immr->sysconf.spridr); /* we check only part num, and don't look for CPU revisions */ - switch (spridr) { + switch (PARTID_NO_E(spridr)) { case SPR_8377: fsl_setup_serdes(CONFIG_FSL_SERDES1, FSL_SERDES_PROTO_SATA, FSL_SERDES_CLK_100, FSL_SERDES_VDD_1V); |