projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rockchip: pinctrl: rk322x: Move the iomux definitions into pinctrl-driver
[oweals/u-boot.git]
/
board
/
broadcom
/
bcm_ep
/
board.c
diff --git
a/board/broadcom/bcm_ep/board.c
b/board/broadcom/bcm_ep/board.c
index 6a70a2e3056007a38958e0df03d63e75a6c9879b..a4096227881439d1d183e8e5647af2e4e5d88d44 100644
(file)
--- a/
board/broadcom/bcm_ep/board.c
+++ b/
board/broadcom/bcm_ep/board.c
@@
-7,6
+7,7
@@
#include <common.h>
#include <asm/io.h>
#include <config.h>
#include <common.h>
#include <asm/io.h>
#include <config.h>
+#include <netdev.h>
#include <asm/system.h>
#include <asm/iproc-common/armpll.h>
#include <asm/system.h>
#include <asm/iproc-common/armpll.h>
@@
-36,10
+37,12
@@
int dram_init(void)
return 0;
}
return 0;
}
-
void
dram_init_banksize(void)
+
int
dram_init_banksize(void)
{
gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
gd->bd->bi_dram[0].size = gd->ram_size;
{
gd->bd->bi_dram[0].start = CONFIG_SYS_SDRAM_BASE;
gd->bd->bi_dram[0].size = gd->ram_size;
+
+ return 0;
}
int board_early_init_f(void)
}
int board_early_init_f(void)
@@
-54,7
+57,7
@@
int board_early_init_f(void)
return status;
}
return status;
}
-#if
defined(CONFIG_ARMV7_NONSEC) || defined(CONFIG_ARMV7_VIRT)
+#if
def CONFIG_ARMV7_NONSEC
void smp_set_core_boot_addr(unsigned long addr, int corenr)
{
}
void smp_set_core_boot_addr(unsigned long addr, int corenr)
{
}
@@
-67,3
+70,13
@@
void smp_waitloop(unsigned previous_address)
{
}
#endif
{
}
#endif
+
+#ifdef CONFIG_BCM_SF2_ETH
+int board_eth_init(bd_t *bis)
+{
+ int rc = -1;
+ printf("Registering BCM sf2 eth\n");
+ rc = bcm_sf2_eth_register(bis, 0);
+ return rc;
+}
+#endif