diff options
| author | Dave Liu <[email protected]> | 2008-03-31 17:05:12 +0800 |
|---|---|---|
| committer | Kim Phillips <[email protected]> | 2008-04-11 17:46:18 -0500 |
| commit | 5fb5a689d822ca61e814bd523fc930af335242fa (patch) | |
| tree | 341cbb326ba21f2b90260e1609dc986faedfa60e | |
| parent | 2000784818f043db7ca60e2846a72d097766b894 (diff) | |
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 <[email protected]>
Signed-off-by: Kim Phillips <[email protected]>
| -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 f7cd5fe1764..40a505b1d4c 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); |
