[PATCH] common/board_f: make sure to call fix_fdt() before reserve_fdt()

Bin Meng bmeng.cn at gmail.com
Wed Aug 5 11:21:43 CEST 2020


On Wed, Aug 5, 2020 at 5:01 PM Pragnesh Patel <pragnesh.patel at sifive.com> wrote:
>
> There may be a chance that board specific fix_fdt() will change the
> size of FDT blob so it's safe to call reserve_fdt() after fix_fdt()
> otherwise global data (gd) will overwrite with FDT blob values.
>
> Signed-off-by: Pragnesh Patel <pragnesh.patel at sifive.com>
> ---
>  common/board_f.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list