git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fe2be2
)
microblaze: spl: wrap spl_start_uboot() in SPL_OS_BOOT ifdefs
author
Ovidiu Panait
<ovpanait@gmail.com>
Wed, 25 Jan 2023 16:41:55 +0000
(18:41 +0200)
committer
Michal Simek
<michal.simek@amd.com>
Fri, 27 Jan 2023 07:38:34 +0000
(08:38 +0100)
Make spl_start_uboot() available only if CONFIG_SPL_OS_BOOT is enabled,
since it is only used for falcon mode.
Signed-off-by: Ovidiu Panait <ovpanait@gmail.com>
Link:
https://lore.kernel.org/r/20230125164157.1638680-1-ovpanait@gmail.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
arch/microblaze/cpu/spl.c
patch
|
blob
|
history
diff --git
a/arch/microblaze/cpu/spl.c
b/arch/microblaze/cpu/spl.c
index
cea6d56
..
b9ff9c3
100644
(file)
--- a/
arch/microblaze/cpu/spl.c
+++ b/
arch/microblaze/cpu/spl.c
@@
-41,17
+41,15
@@
void __noreturn jump_to_image_linux(struct spl_image_info *spl_image)
image_entry(NULL, 0, (ulong)spl_image->arg);
}
-#endif /* CONFIG_SPL_OS_BOOT */
int spl_start_uboot(void)
{
-#ifdef CONFIG_SPL_OS_BOOT
if (boot_linux)
return 0;
-#endif
return 1;
}
+#endif /* CONFIG_SPL_OS_BOOT */
int do_reset(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
{