Re: [PATCH v6 1/3] arm64: map FDT as RW for early_init_dt_scan()

2019-06-13 Thread Mike Rapoport
On Wed, Jun 12, 2019 at 12:32:58PM +0800, Hsin-Yi Wang wrote: > Currently in arm64, FDT is mapped to RO before it's passed to > early_init_dt_scan(). However, there might be some codes > (eg. commit "fdt: add support for rng-seed") that need to modify FDT > during init. Map FDT to RO after early

[PATCH v6 1/3] arm64: map FDT as RW for early_init_dt_scan()

2019-06-11 Thread Hsin-Yi Wang
Currently in arm64, FDT is mapped to RO before it's passed to early_init_dt_scan(). However, there might be some codes (eg. commit "fdt: add support for rng-seed") that need to modify FDT during init. Map FDT to RO after early fixups are done. Signed-off-by: Hsin-Yi Wang Reviewed-by: Stephen