mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
spl: nor: Skip CONFIG_SYS_FDT_BASE if not defined
If FIT image is used, CONFIG_SYS_FDT_BASE is not needed. Signed-off-by: York Sun <york.sun@nxp.com>
This commit is contained in:
parent
6ecd820f99
commit
14acea0244
1 changed files with 2 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue