summaryrefslogtreecommitdiff
path: root/board/freescale/ls2080a/ls2080a.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-06-03 18:05:04 -0400
committerTom Rini <trini@konsulko.com>2017-06-03 18:05:04 -0400
commit541f538f4ca50082f77f7f34f05950d57804b1cc (patch)
tree09e94cc98e5d024bd016ba2b04b61f0b816304c6 /board/freescale/ls2080a/ls2080a.c
parentb07d044d5bfa8c440b172eb3f8a9d537f82e21b6 (diff)
parent8d75d52878514e23e0bd9c30743255570d05409c (diff)
Merge git://git.denx.de/u-boot-fsl-qoriq
Diffstat (limited to 'board/freescale/ls2080a/ls2080a.c')
-rw-r--r--board/freescale/ls2080a/ls2080a.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/board/freescale/ls2080a/ls2080a.c b/board/freescale/ls2080a/ls2080a.c
index 9e7701d81ff..41417e9dc69 100644
--- a/board/freescale/ls2080a/ls2080a.c
+++ b/board/freescale/ls2080a/ls2080a.c
@@ -64,13 +64,13 @@ int board_eth_init(bd_t *bis)
error = smc91111_initialize(0, CONFIG_SMC91111_BASE);
#endif
-#ifdef CONFIG_FSL_MC_ENET
+#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)
error = cpu_eth_init(bis);
#endif
return error;
}
-#ifdef CONFIG_FSL_MC_ENET
+#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)
void fdt_fixup_board_enet(void *fdt)
{
int offset;
@@ -128,10 +128,16 @@ int ft_board_setup(void *blob, bd_t *bd)
fdt_fixup_memory_banks(blob, base, size, 2);
-#ifdef CONFIG_FSL_MC_ENET
+#if defined(CONFIG_FSL_MC_ENET) && !defined(CONFIG_SPL_BUILD)
fdt_fixup_board_enet(blob);
#endif
return 0;
}
#endif
+
+#if defined(CONFIG_RESET_PHY_R)
+void reset_phy(void)
+{
+}
+#endif