summaryrefslogtreecommitdiff
path: root/board/bf538f-ezkit/bf538f-ezkit.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-12 21:25:33 -0400
committerMike Frysinger <vapier@gentoo.org>2009-04-02 06:41:38 -0400
commit5c45f7cac2f74e2c14aa6b028cd969651cc9ac8e (patch)
tree840cce95aebc3f6aee1d1769fb85413a562fa2c3 /board/bf538f-ezkit/bf538f-ezkit.c
parentd9a5d113b93583c984711127ab8503e136ed1e4a (diff)
Blackfin: bf538f-ezkit: new board port
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'board/bf538f-ezkit/bf538f-ezkit.c')
-rw-r--r--board/bf538f-ezkit/bf538f-ezkit.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/board/bf538f-ezkit/bf538f-ezkit.c b/board/bf538f-ezkit/bf538f-ezkit.c
new file mode 100644
index 00000000000..bbee9896757
--- /dev/null
+++ b/board/bf538f-ezkit/bf538f-ezkit.c
@@ -0,0 +1,27 @@
+/*
+ * U-boot - main board file
+ *
+ * Copyright (c) 2008 Analog Devices Inc.
+ *
+ * Licensed under the GPL-2 or later.
+ */
+
+#include <common.h>
+#include <config.h>
+#include <asm/blackfin.h>
+
+DECLARE_GLOBAL_DATA_PTR;
+
+int checkboard(void)
+{
+ printf("Board: ADI BF538F EZ-Kit Lite board\n");
+ printf(" Support: http://blackfin.uclinux.org/\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;
+}