Hoan Hoang | 0f52b56 | 2009-01-18 22:44:17 -0500 | [diff] [blame] | 1 | /* |
| 2 | * U-boot - main board file |
| 3 | * |
| 4 | * Copyright (c) 2008-2009 I-SYST. |
| 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: I-SYST IBF-DSP561 Micromodule\n"); |
| 16 | printf(" Support: http://www.i-syst.com/\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 | } |