summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeresa Remmet <t.remmet@phytec.de>2018-11-14 14:56:01 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-11-16 08:34:13 +0100
commit9b14a8b4b9f5d080bebc8fa9c2f0d45c787b87f5 (patch)
tree459137cc079cfd19dbafe60b7df906e2adeb98b3
parent45af01d16dbaabd918c141fcb7dcd7efeeac7c07 (diff)
downloadbarebox-9b14a8b4b9f5d080bebc8fa9c2f0d45c787b87f5.tar.gz
arm: mach-omap: xload: Enable network interface
Since f0624a701513 ("net: Do not route traffic to interfaces that are not up") interfaces need to be "up" before used. To make enthernet boot work again enable the interface after dhcp is set up. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-omap/xload.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap/xload.c b/arch/arm/mach-omap/xload.c
index bb58825dcf..47aa8275b9 100644
--- a/arch/arm/mach-omap/xload.c
+++ b/arch/arm/mach-omap/xload.c
@@ -257,6 +257,8 @@ static void *am33xx_net_boot(void)
dhcp_set_result(edev, dhcp_res);
+ edev->ifup = true;
+
/*
* Older tftp server don't send the file size.
* Then tftpfs needs temporary place to store the file.