From: Dave Liu Date: Mon, 31 Mar 2008 09:05:12 +0000 (+0800) Subject: mpc83xx: Fix the bug of serdes initialization X-Git-Tag: v1.3.3-rc1~107^2~1^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5fb5a689d822ca61e814bd523fc930af335242fa;p=u-boot 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 Signed-off-by: Kim Phillips --- diff --git a/board/freescale/mpc837xemds/mpc837xemds.c b/board/freescale/mpc837xemds/mpc837xemds.c index f7cd5fe176..40a505b1d4 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);