u-boot/board/bf538f-ezkit/bf538f-ezkit.c
Mike Frysinger 5c45f7cac2 Blackfin: bf538f-ezkit: new board port
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-04-02 06:41:38 -04:00

27 lines
523 B
C

/*
* 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;
}