summaryrefslogtreecommitdiff
path: root/board/blackvme/blackvme.c
diff options
context:
space:
mode:
authorWojtek Skulski <skulski@pas.rochester.edu>2010-09-27 18:21:59 -0400
committerMike Frysinger <vapier@gentoo.org>2010-10-02 16:00:40 -0400
commit3bbed7f88a433b6cd5e9260d88c82dfac4ef7aa1 (patch)
tree352620d7ca1ac0c52531f4ac4ef0242c469e2018 /board/blackvme/blackvme.c
parent48c00fe25c77d646313b90106a945917a62c5319 (diff)
downloadu-boot-imx-3bbed7f88a433b6cd5e9260d88c82dfac4ef7aa1.zip
u-boot-imx-3bbed7f88a433b6cd5e9260d88c82dfac4ef7aa1.tar.gz
u-boot-imx-3bbed7f88a433b6cd5e9260d88c82dfac4ef7aa1.tar.bz2
Blackfin: blackvme: new board port
The board includes: * ADSP-BF561 rev. 0.5 * 32-bit SDRAM (2 * MT48LC16M16A2TG or MT48LC32M16A2TG) * Gigabit Ether AX88180 (ASIX) + 88E1111 rev. B2 (Marvell) * SPI boot flash on PF2 (M25P64 8MB, or M25P128 16 MB) * FPGA boot flash on PF3 (M25P64 8MB, or M25P128 16 MB) * Spartan6-LX150 (memory-mapped; both PPIs also connected) * See http://www.skutek.com/ Signed-off-by: Wojtek Skulski <skulski@pas.rochester.edu> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/blackvme/blackvme.c')
-rw-r--r--board/blackvme/blackvme.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/board/blackvme/blackvme.c b/board/blackvme/blackvme.c
new file mode 100644
index 0000000..eccdaf3
--- /dev/null
+++ b/board/blackvme/blackvme.c
@@ -0,0 +1,31 @@
+/* U-boot - blackvme.c board specific routines
+ * (c) Wojtek Skulski 2010 info@skutek.com
+ * Board info: http://www.skutek.com
+ * Copyright (c) 2005-2009 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 <netdev.h>
+
+int checkboard(void)
+{
+ printf("Board: BlackVME\n");
+ printf("Support: http://www.skutek.com/\n");
+ return 0;
+}
+
+#ifdef CONFIG_DRIVER_AX88180
+/*
+ * The ax88180 driver had to be patched to work around a bug
+ * in Marvell 88E1111 B2 silicon. E-mail me for explanations.
+ */
+int board_eth_init(bd_t *bis)
+{
+ return ax88180_initialize(bis);
+}
+#endif /* CONFIG_DRIVER_AX88180 */