From 5c45f7cac2f74e2c14aa6b028cd969651cc9ac8e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 12 Oct 2008 21:25:33 -0400 Subject: Blackfin: bf538f-ezkit: new board port Signed-off-by: Mike Frysinger --- board/bf538f-ezkit/bf538f-ezkit.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 board/bf538f-ezkit/bf538f-ezkit.c (limited to 'board/bf538f-ezkit/bf538f-ezkit.c') diff --git a/board/bf538f-ezkit/bf538f-ezkit.c b/board/bf538f-ezkit/bf538f-ezkit.c new file mode 100644 index 0000000000..bbee989675 --- /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 +#include +#include + +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; +} -- cgit v1.2.3