Skip to content
Commit 313981c2 authored by Pragnesh Patel's avatar Pragnesh Patel Committed by Andes
Browse files

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



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.

Fixes: a8492e25 ("riscv: Expand the DT size before copy reserved memory node")

Signed-off-by: default avatarPragnesh Patel <pragnesh.patel@sifive.com>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarRick Chen <rick@andestech.com>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
parent 7c6ca03e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment