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> |
Ben Warren | 0fd6aae | 2009-10-04 22:37:03 -0700 | [diff] [blame^] | 10 | #include <netdev.h> |
Mike Frysinger | 9768ab9 | 2008-10-12 21:36:22 -0400 | [diff] [blame] | 11 | |
| 12 | DECLARE_GLOBAL_DATA_PTR; |
| 13 | |
| 14 | int checkboard(void) |
| 15 | { |
| 16 | printf("Board: Bluetechnix CM-BF533 board\n"); |
| 17 | printf(" Support: http://www.bluetechnix.at/\n"); |
| 18 | return 0; |
| 19 | } |
| 20 | |
| 21 | phys_size_t initdram(int board_type) |
| 22 | { |
| 23 | gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE; |
| 24 | gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE; |
| 25 | return gd->bd->bi_memsize; |
| 26 | } |
Ben Warren | 0fd6aae | 2009-10-04 22:37:03 -0700 | [diff] [blame^] | 27 | |
| 28 | #ifdef CONFIG_SMC91111 |
| 29 | int board_eth_init(bd_t *bis) |
| 30 | { |
| 31 | return smc91111_initialize(0, CONFIG_SMC91111_BASE); |
| 32 | } |
| 33 | #endif |