aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatolij Gustschin2016-05-06 10:16:31 -0500
committerMarek Vasut2016-05-06 11:41:49 -0500
commit5289c5fa5371dada10e9cbdcdbf3fb010905ea2d (patch)
tree89c756ecfb0f9cf5c119ffdb9a911063898897c7
parent5a824c493a31d06f04a6736fab8f67bf78145003 (diff)
downloadu-boot-5289c5fa5371dada10e9cbdcdbf3fb010905ea2d.tar.gz
u-boot-5289c5fa5371dada10e9cbdcdbf3fb010905ea2d.tar.xz
u-boot-5289c5fa5371dada10e9cbdcdbf3fb010905ea2d.zip
socfpga: fix broken build if CONFIG_ETH_DESIGNWARE disabled
Building without ethernet driver doesn't work. Fix it. Signed-off-by: Anatolij Gustschin <agust@denx.de> Cc: Marek Vasut <marex@denx.de>
-rw-r--r--arch/arm/mach-socfpga/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-socfpga/misc.c b/arch/arm/mach-socfpga/misc.c
index dd05e14c05..5cbd8a4325 100644
--- a/arch/arm/mach-socfpga/misc.c
+++ b/arch/arm/mach-socfpga/misc.c
@@ -172,7 +172,7 @@ static int socfpga_eth_reset(void)
172#else 172#else
173static int socfpga_eth_reset(void) 173static int socfpga_eth_reset(void)
174{ 174{
175 return 0 175 return 0;
176}; 176};
177#endif 177#endif
178 178