summaryrefslogtreecommitdiff
path: root/board/pr1/pr1.c
diff options
context:
space:
mode:
authorDimitar Penev <dpn@switchfin.org>2011-11-19 15:02:00 -0500
committerMike Frysinger <vapier@gentoo.org>2012-02-12 15:03:25 -0500
commit939b150ae5f6cbca4d3583ad1fcd0f237b71d868 (patch)
tree8fb2de1b6bb3fcab16a2be4df9165f7c60b248fc /board/pr1/pr1.c
parent9cbfee6dc200cc746394c7efc10253a24f3ce108 (diff)
downloadu-boot-imx-939b150ae5f6cbca4d3583ad1fcd0f237b71d868.zip
u-boot-imx-939b150ae5f6cbca4d3583ad1fcd0f237b71d868.tar.gz
u-boot-imx-939b150ae5f6cbca4d3583ad1fcd0f237b71d868.tar.bz2
Blackfin: pr1: new board port
This add support for the PR1 Appliance - Asterisk based ISDN PRI PBX. This board is Blackfin BF537 based. The schematics are not fully opened. Signed-off-by: Dimitar Penev <dpn@switchfin.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/pr1/pr1.c')
-rw-r--r--board/pr1/pr1.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/board/pr1/pr1.c b/board/pr1/pr1.c
new file mode 100644
index 0000000..bb907f3
--- /dev/null
+++ b/board/pr1/pr1.c
@@ -0,0 +1,30 @@
+/*
+ * U-boot - main board file
+ *
+ * Copyright (c) Switchfin Org. <dpn@switchfin.org>
+ *
+ * Copyright (c) 2005-2008 Analog Devices Inc.
+ *
+ * (C) Copyright 2000-2004
+ * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+ *
+ * Licensed under the GPL-2 or later.
+ */
+
+#include <common.h>
+#include <net.h>
+#include <netdev.h>
+
+int checkboard(void)
+{
+ printf("Board: Switchvoice PR1 Appliance\n");
+ printf(" Support: http://www.switchvoice.com/\n");
+ return 0;
+}
+
+#ifdef CONFIG_BFIN_MAC
+int board_eth_init(bd_t *bis)
+{
+ return bfin_EMAC_initialize(bis);
+}
+#endif