diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-10-13 01:25:33 (GMT) |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-04-02 10:41:38 (GMT) |
commit | 5c45f7cac2f74e2c14aa6b028cd969651cc9ac8e (patch) | |
tree | 840cce95aebc3f6aee1d1769fb85413a562fa2c3 /board/bf538f-ezkit/bf538f-ezkit.c | |
parent | d9a5d113b93583c984711127ab8503e136ed1e4a (diff) | |
download | u-boot-5c45f7cac2f74e2c14aa6b028cd969651cc9ac8e.tar.xz |
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.c | 27 |
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 0000000..bbee989 --- /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; +} |