Mike Frysinger | 5c45f7c | 2008-10-12 21:25:33 -0400 | [diff] [blame] | 1 | /* |
| 2 | * U-boot - main board file |
| 3 | * |
| 4 | * Copyright (c) 2008 Analog Devices Inc. |
| 5 | * |
| 6 | * Licensed under the GPL-2 or later. |
| 7 | */ |
| 8 | |
| 9 | #include <common.h> |
| 10 | #include <config.h> |
| 11 | #include <asm/blackfin.h> |
| 12 | |
| 13 | DECLARE_GLOBAL_DATA_PTR; |
| 14 | |
| 15 | int checkboard(void) |
| 16 | { |
| 17 | printf("Board: ADI BF538F EZ-Kit Lite board\n"); |
| 18 | printf(" Support: http://blackfin.uclinux.org/\n"); |
| 19 | return 0; |
| 20 | } |
| 21 | |
| 22 | phys_size_t initdram(int board_type) |
| 23 | { |
| 24 | gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE; |
| 25 | gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE; |
| 26 | return gd->bd->bi_memsize; |
| 27 | } |