2008-03-26 22:34:47 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2008
|
|
|
|
* Daniel Hellstrom, daniel@gaisler.com.
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2008-03-26 22:34:47 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
2009-10-05 05:37:03 +00:00
|
|
|
#include <netdev.h>
|
2008-03-26 22:34:47 +00:00
|
|
|
#include <config.h>
|
|
|
|
#include <asm/leon.h>
|
|
|
|
|
2017-03-31 14:40:25 +00:00
|
|
|
int initdram(void)
|
2008-03-26 22:34:47 +00:00
|
|
|
{
|
2017-03-31 14:40:25 +00:00
|
|
|
/* Does not set gd->ram_size here */
|
|
|
|
|
|
|
|
return 0;
|
2008-03-26 22:34:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
int checkboard(void)
|
|
|
|
{
|
|
|
|
puts("Board: EP2S60 GRLIB\n");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
int misc_init_r(void)
|
|
|
|
{
|
|
|
|
return 0;
|
|
|
|
}
|
2009-10-05 05:37:03 +00: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
|