summaryrefslogtreecommitdiff
path: root/board/cm-bf533/cm-bf533.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-12 21:36:22 -0400
committerMike Frysinger <vapier@gentoo.org>2009-06-14 20:01:04 -0400
commite82d8a1f028bedb12c4ab88a35a935010d92898c (patch)
tree4e6ac0ab91c606b47b76d83f7d66b8c938c50840 /board/cm-bf533/cm-bf533.c
parentdd14af7640f7d48d8e9768eeeb09592e6f94ed38 (diff)
downloadu-boot-imx-e82d8a1f028bedb12c4ab88a35a935010d92898c.zip
u-boot-imx-e82d8a1f028bedb12c4ab88a35a935010d92898c.tar.gz
u-boot-imx-e82d8a1f028bedb12c4ab88a35a935010d92898c.tar.bz2
Blackfin: cm-bf533: new board port
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/cm-bf533/cm-bf533.c')
-rw-r--r--board/cm-bf533/cm-bf533.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/board/cm-bf533/cm-bf533.c b/board/cm-bf533/cm-bf533.c
new file mode 100644
index 0000000..7eb761d
--- /dev/null
+++ b/board/cm-bf533/cm-bf533.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-BF533 board\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;
+}