From: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>
Date: Thu, 23 Mar 2017 17:02:41 +0000 (+0100)
Subject: Remove extra fdt_fixup_ethernet() call
X-Git-Tag: v2025.01-rc5-pxa1908~7243
X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=3f66149d9fb41527ed70a8e0613489e95391b0ff;p=u-boot.git

Remove extra fdt_fixup_ethernet() call

ft_cpu_setup() already calls fdt_fixup_ethernet(), calling it
in image_setup_libfdt() is both redundant and breaks any modifications
done by ft_board_setup(). Restore the old behavior by removing
the call in image_setup_libfdt()

Fixes: 13d06981a982 ("image: Add device tree setup to image library")
Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
---

diff --git a/common/image-fdt.c b/common/image-fdt.c
index e7540be8d6..7468b902b8 100644
--- a/common/image-fdt.c
+++ b/common/image-fdt.c
@@ -494,7 +494,6 @@ int image_setup_libfdt(bootm_headers_t *images, void *blob,
 			goto err;
 		}
 	}
-	fdt_fixup_ethernet(blob);
 
 	/* Delete the old LMB reservation */
 	if (lmb)