summaryrefslogtreecommitdiff
path: root/board/ibf-dsp561/ibf-dsp561.c
diff options
context:
space:
mode:
authorHoan Hoang <hnhoan@i-syst.com>2009-01-18 22:44:17 -0500
committerMike Frysinger <vapier@gentoo.org>2009-06-14 20:01:11 -0400
commit0f52b560f19623ec651f9b9b40405d138ec251d3 (patch)
tree5679ef202554fc4876bdd2e2e86be352a55ad4f0 /board/ibf-dsp561/ibf-dsp561.c
parent3088189a15d219c48fd7e71623ca4daa08b80b59 (diff)
Blackfin: ibf-dsp561: new board port
Signed-off-by: Hoan Hoang <hnhoan@i-syst.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/ibf-dsp561/ibf-dsp561.c')
-rw-r--r--board/ibf-dsp561/ibf-dsp561.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/board/ibf-dsp561/ibf-dsp561.c b/board/ibf-dsp561/ibf-dsp561.c
new file mode 100644
index 000000000..551fc291a
--- /dev/null
+++ b/board/ibf-dsp561/ibf-dsp561.c
@@ -0,0 +1,25 @@
+/*
+ * U-boot - main board file
+ *
+ * Copyright (c) 2008-2009 I-SYST.
+ *
+ * Licensed under the GPL-2 or later.
+ */
+
+#include <common.h>
+
+DECLARE_GLOBAL_DATA_PTR;
+
+int checkboard(void)
+{
+ printf("Board: I-SYST IBF-DSP561 Micromodule\n");
+ printf(" Support: http://www.i-syst.com/\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;
+}