2008-03-26 23:38:48 +01:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2008
|
|
|
|
* Daniel Hellstrom, daniel@gaisler.com.
|
|
|
|
*
|
2013-07-08 09:37:19 +02:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2008-03-26 23:38:48 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
2009-10-04 22:37:03 -07:00
|
|
|
#include <netdev.h>
|
2008-03-26 23:38:48 +01:00
|
|
|
#include <config.h>
|
|
|
|
#include <asm/leon.h>
|
|
|
|
|
2017-03-31 08:40:25 -06:00
|
|
|
int initdram(void)
|
2008-03-26 23:38:48 +01:00
|
|
|
{
|
2017-03-31 08:40:25 -06:00
|
|
|
/* Does not set gd->ram_size here */
|
|
|
|
|
|
|
|
return 0;
|
2008-03-26 23:38:48 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
int checkboard(void)
|
|
|
|
{
|
|
|
|
puts("Board: GR-CPCI-AX2000\n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int misc_init_r(void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2009-10-04 22:37:03 -07:00
|
|
|
|
|
|
|
#ifdef CONFIG_CMD_NET
|
|
|
|
int board_eth_init(bd_t *bis)
|
|
|
|
{
|
|
|
|
int rc = 0;
|
|
|
|
#ifdef CONFIG_SMC91111
|
|
|
|
rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
|
|
|
|
#endif
|
|
|
|
return rc;
|
|
|
|
}
|
|
|
|
#endif
|