If FIT image is used, CONFIG_SYS_FDT_BASE is not needed. Signed-off-by: York Sun <york....@nxp.com> --- common/spl/spl_nor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/common/spl/spl_nor.c b/common/spl/spl_nor.c index b919fff..969e319 100644 --- a/common/spl/spl_nor.c +++ b/common/spl/spl_nor.c @@ -62,8 +62,9 @@ static int spl_nor_load_image(struct spl_image_info *spl_image, (void *)(CONFIG_SYS_OS_BASE + sizeof(struct image_header)), spl_image->size); - +#ifdef CONFIG_SYS_FDT_BASE spl_image->arg = (void *)CONFIG_SYS_FDT_BASE; +#endif return 0; } else { -- 2.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot