1/* 2 * (C) Copyright 2008 3 * Daniel Hellstrom, daniel@gaisler.com. 4 * 5 * SPDX-License-Identifier: GPL-2.0+ 6 */ 7 8#include <common.h> 9#include <netdev.h> 10#include <config.h> 11#include <asm/leon.h> 12 13phys_size_t initdram(int board_type) 14{ 15 return 1; 16} 17 18int checkboard(void) 19{ 20 puts("Board: GR-CPCI-AX2000\n"); 21 return 0; 22} 23 24int misc_init_r(void) 25{ 26 return 0; 27} 28 29#ifdef CONFIG_CMD_NET 30int board_eth_init(bd_t *bis) 31{ 32 int rc = 0; 33#ifdef CONFIG_SMC91111 34 rc = smc91111_initialize(0, CONFIG_SMC91111_BASE); 35#endif 36 return rc; 37} 38#endif 39