summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-04-13 09:39:26 -0700
committerWolfgang Denk <wd@denx.de>2008-04-13 09:39:26 -0700
commit8258b6e2f57f73b4cacda1ca513385d70f808777 (patch)
tree2d9ee7f55381f733e7e9a031172349cc9de4c46b /board
parent643de569b25ab0b8cbd77604491efeacf4ec13c2 (diff)
parent3f9c542d3d69b1a10a5e193e779133a0454d1f44 (diff)
downloadu-boot-imx-8258b6e2f57f73b4cacda1ca513385d70f808777.zip
u-boot-imx-8258b6e2f57f73b4cacda1ca513385d70f808777.tar.gz
u-boot-imx-8258b6e2f57f73b4cacda1ca513385d70f808777.tar.bz2
Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xx
Diffstat (limited to 'board')
-rw-r--r--board/freescale/mpc837xemds/mpc837xemds.c2
-rw-r--r--board/freescale/mpc837xerdb/mpc837xerdb.c2
2 files changed, 2 insertions, 2 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);
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 <i2c.h>
#include <asm/io.h>
#include <asm/fsl_serdes.h>
+#include <fdt_support.h>
#include <spd_sdram.h>
#include <vsc7385.h>
-
#if defined(CFG_DRAM_TEST)
int
testdram(void)