[U-Boot] [PATCH v3] bootvx_fdt: fix missing 'fdt_fixup_ethernet(...)' on vxWorks boot
Bin Meng
bmeng.cn at gmail.com
Fri Aug 25 12:30:43 UTC 2017
On Fri, Aug 25, 2017 at 8:27 PM, Hannes Schmelzer <oe5hpm at oevsv.at> wrote:
> Before commit 26d6119 (fdt: Move fdt_fixup_ethernet to a common place)
> the fdt_fixup_ethernet(...) was called during do_bootvx_fdt(...).
>
> Afterwards the only (common) place for this fixup is during
> image_setup_libfdt(...) and this is only called, at least on ARM
> platform, from image_setup_linux(...).
>
> All this ends up in the fact, that the fdt_fixup_ethernet(...) is only
> called on booting a linux image and not on booting a vxWorks image.
>
> We fix this with adding the fdt_fixup_ethernet(...) call again to
> do_bootvx_fdt(...)
>
> Signed-off-by: Hannes Schmelzer <oe5hpm at oevsv.at>
>
> ---
>
> Changes in v3:
> - cosmetic changes (coding style)
>
> Changes in v2:
> - restore original behaviour from
> b3b522f247d3f19c4f2309ab0e6a02b3dd82de45 with moving the
> fdt_fixup_ethernet(...) call after boot_relocate_fdt(...)
>
> common/bootm_os.c | 3 +++
> 1 file changed, 3 insertions(+)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list