Remove extra fdt_fixup_ethernet() call
authorJoakim Tjernlund <Joakim.Tjernlund@infinera.com>
Thu, 23 Mar 2017 17:02:41 +0000 (18:02 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 8 Apr 2017 13:26:50 +0000 (09:26 -0400)
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>
common/image-fdt.c

index e7540be8d631c4a1cbe08e2fb7ed70306dfa61a9..7468b902b8d4123308a3630d8c22d3f8b8b9f0df 100644 (file)
@@ -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)