riscv: prior_stage_fdt_address should only be used when OF_PRIOR_STAGE is enabled
This patch will fix prior_stage_fdt_address write failure problem, when AE350 boots from flash. When AE350 boots from flash, prior_stage_fdt_address will be flash address, we shall avoid it to be written. Signed-off-by:Rick Chen <rick@andestech.com> Cc: Greentime Hu <greentime@andestech.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Loading
Please register or sign in to comment