diff options
author | Wolfgang Denk <wd@denx.de> | 2009-04-03 22:38:36 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-04-03 22:38:36 +0200 |
commit | 0d8cb9c04facc029baf4beee5a7e389be343a915 (patch) | |
tree | eb6e1a1a99dde1e957746f3ea7f0c20ce2e515d9 /board/bf538f-ezkit/bf538f-ezkit.c | |
parent | 3405f38a15eec5092ac47efe0829f10a24491c6e (diff) | |
parent | 40587701924aa0afc86b3840421b4cc6de42c748 (diff) | |
download | u-boot-imx-0d8cb9c04facc029baf4beee5a7e389be343a915.zip u-boot-imx-0d8cb9c04facc029baf4beee5a7e389be343a915.tar.gz u-boot-imx-0d8cb9c04facc029baf4beee5a7e389be343a915.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-blackfin
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; +} |