summaryrefslogtreecommitdiff
path: root/board/mpc832xemds/mpc832xemds.c
diff options
context:
space:
mode:
authorTony Li <tony.li@freescale.com>2007-08-17 10:35:59 +0800
committerKim Phillips <kim.phillips@freescale.com>2007-08-16 23:12:11 -0500
commit14778585d1389d86d5846efec29e5fce892680ce (patch)
tree29e9cb3245ee88798ad96cb62d7e675a7a5ca173 /board/mpc832xemds/mpc832xemds.c
parent35cc4e4823668e8745854899cfaedd4489beb0ef (diff)
downloadu-boot-imx-14778585d1389d86d5846efec29e5fce892680ce.zip
u-boot-imx-14778585d1389d86d5846efec29e5fce892680ce.tar.gz
u-boot-imx-14778585d1389d86d5846efec29e5fce892680ce.tar.bz2
mpc83xx: Split PIB init code from pci.c and add Qoc3 ATM card support
The patch split the PIB init code from pci.c to a single file board/freescale/common/pq-mds-pib.c And add Qoc3 ATM card support for MPC8360EMDS and MPC832XEMDS board. Signed-off-by Tony Li <tony.li@freescale.com>
Diffstat (limited to 'board/mpc832xemds/mpc832xemds.c')
-rw-r--r--board/mpc832xemds/mpc832xemds.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/mpc832xemds/mpc832xemds.c b/board/mpc832xemds/mpc832xemds.c
index f70783e..207fcdf 100644
--- a/board/mpc832xemds/mpc832xemds.c
+++ b/board/mpc832xemds/mpc832xemds.c
@@ -32,6 +32,9 @@
#elif defined(CONFIG_OF_LIBFDT)
#include <libfdt.h>
#endif
+#if defined(CONFIG_PQ_MDS_PIB)
+#include "../freescale/common/pq-mds-pib.h"
+#endif
const qe_iop_conf_t qe_iop_conf_tab[] = {
/* ETH3 */
@@ -88,6 +91,14 @@ int board_early_init_f(void)
return 0;
}
+int board_early_init_r(void)
+{
+#ifdef CONFIG_PQ_MDS_PIB
+ pib_init();
+#endif
+ return 0;
+}
+
int fixed_sdram(void);
long int initdram(int board_type)