From 1ac4f320bf0b593aa0a741f2d649a8ece8838672 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 2 Apr 2008 13:41:21 +0200 Subject: mpc837xerdb: Fix warning: implicit declaration of function 'fdt_fixup_dr_usb' Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Kim Phillips --- board/freescale/mpc837xerdb/mpc837xerdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board') diff --git a/board/freescale/mpc837xerdb/mpc837xerdb.c b/board/freescale/mpc837xerdb/mpc837xerdb.c index e054f4e..f73fd5a 100644 --- a/board/freescale/mpc837xerdb/mpc837xerdb.c +++ b/board/freescale/mpc837xerdb/mpc837xerdb.c @@ -16,10 +16,10 @@ #include #include #include +#include #include #include - #if defined(CFG_DRAM_TEST) int testdram(void) -- cgit v1.1 From 5fb5a689d822ca61e814bd523fc930af335242fa Mon Sep 17 00:00:00 2001 From: Dave Liu Date: Mon, 31 Mar 2008 17:05:12 +0800 Subject: 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 --- board/freescale/mpc837xemds/mpc837xemds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'board') 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); -- cgit v1.1