Mike Frysinger | 9768ab9 | 2008-10-12 21:36:22 -0400 | [diff] [blame] | 1 | /* |
| 2 | * U-boot - main board file |
| 3 | * |
| 4 | * Copyright (c) 2005-2008 Analog Devices Inc. |
| 5 | * |
| 6 | * Licensed under the GPL-2 or later. |
| 7 | */ |
| 8 | |
| 9 | #include <common.h> |
| 10 | |
| 11 | DECLARE_GLOBAL_DATA_PTR; |
| 12 | |
| 13 | int checkboard(void) |
| 14 | { |
| 15 | printf("Board: Bluetechnix CM-BF533 board\n"); |
| 16 | printf(" Support: http://www.bluetechnix.at/\n"); |
| 17 | return 0; |
| 18 | } |
| 19 | |
| 20 | phys_size_t initdram(int board_type) |
| 21 | { |
| 22 | gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE; |
| 23 | gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE; |
| 24 | return gd->bd->bi_memsize; |
| 25 | } |