summaryrefslogtreecommitdiff
path: root/board/cm-bf561/cm-bf561.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-12 21:45:05 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-14 20:01:06 -0400
commite548321af00e869af7194896576beb9b68457ff7 (patch)
treeb530cc62630cb58d264296f9533332e02182fabd /board/cm-bf561/cm-bf561.c
parent8a9bab08a6fe93e5f3bf57b90438f1d2a67fad3c (diff)
Blackfin: cm-bf561: new board port
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/cm-bf561/cm-bf561.c')
-rw-r--r--board/cm-bf561/cm-bf561.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/board/cm-bf561/cm-bf561.c b/board/cm-bf561/cm-bf561.c
new file mode 100644
index 000000000..5bce9eb59
--- /dev/null
+++ b/board/cm-bf561/cm-bf561.c
@@ -0,0 +1,25 @@
+/*
+ * U-boot - main board file
+ *
+ * Copyright (c) 2005-2008 Analog Devices Inc.
+ *
+ * Licensed under the GPL-2 or later.
+ */
+
+#include <common.h>
+
+DECLARE_GLOBAL_DATA_PTR;
+
+int checkboard(void)
+{
+ printf("Board: Bluetechnix CM-BF561 core module\n");
+ printf(" Support: http://www.bluetechnix.at/\n");
+ return 0;
+}
+
+phys_size_t initdram(int board_type)
+{
+ gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
+ gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
+ return gd->bd->bi_memsize;
+}