summaryrefslogtreecommitdiffstats
path: root/board/br4/br4.c
diff options
context:
space:
mode:
authorDimitar Penev <dpn@switchfin.org>2011-11-25 16:05:54 -0500
committerMike Frysinger <vapier@gentoo.org>2012-02-12 15:03:25 -0500
commit051a5f30f16739c11f762a7ae0c26ae95f26d62e (patch)
tree1351bb55c713bb1d9be98aeccd91919dcd109599 /board/br4/br4.c
parentdae2242adae03231551b14f6dfda776d9b4d6ed2 (diff)
downloadblackbird-obmc-uboot-051a5f30f16739c11f762a7ae0c26ae95f26d62e.tar.gz
blackbird-obmc-uboot-051a5f30f16739c11f762a7ae0c26ae95f26d62e.zip
Blackfin: br4: new board port
This adds support for the BR4 Appliance. It is a quad channel ISDN BRI board based on Blackfin BF537 CPU. Signed-off-by: Dimitar Penev <dpn@switchfin.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/br4/br4.c')
-rw-r--r--board/br4/br4.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/board/br4/br4.c b/board/br4/br4.c
new file mode 100644
index 0000000000..bc034e38d4
--- /dev/null
+++ b/board/br4/br4.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 BR4 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
OpenPOWER on IntegriCloud