aboutsummaryrefslogtreecommitdiff
path: root/arch/microblaze
diff options
context:
space:
mode:
authorOvidiu Panait <ovpanait@gmail.com>2023-01-25 18:41:56 +0200
committerMichal Simek <michal.simek@amd.com>2023-01-27 08:38:34 +0100
commit8e2378e559a2792c5d730e6a65bec964b56b5c33 (patch)
treeae4e5b80241a48e3afa51de37a55fcec8999d81f /arch/microblaze
parent4dd5a9fcb5b1f314d6e56e9a2bedb7e8dbc31bb3 (diff)
downloadu-boot-8e2378e559a2792c5d730e6a65bec964b56b5c33.zip
u-boot-8e2378e559a2792c5d730e6a65bec964b56b5c33.tar.gz
u-boot-8e2378e559a2792c5d730e6a65bec964b56b5c33.tar.bz2
microblaze: spl: drop boot_linux
Drop boot_linux variable as it is not assigned anywhere. Now that there is no variable controlling linux boot in spl_start_uboot(), make this function always return false when falcon mode is enabled. Signed-off-by: Ovidiu Panait <ovpanait@gmail.com> Link: https://lore.kernel.org/r/20230125164157.1638680-2-ovpanait@gmail.com Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/cpu/spl.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/microblaze/cpu/spl.c b/arch/microblaze/cpu/spl.c
index b9ff9c3..eaa095b 100644
--- a/arch/microblaze/cpu/spl.c
+++ b/arch/microblaze/cpu/spl.c
@@ -14,8 +14,6 @@
#include <asm/u-boot.h>
#include <linux/stringify.h>
-bool boot_linux;
-
void board_boot_order(u32 *spl_boot_list)
{
spl_boot_list[0] = BOOT_DEVICE_NOR;
@@ -44,10 +42,7 @@ void __noreturn jump_to_image_linux(struct spl_image_info *spl_image)
int spl_start_uboot(void)
{
- if (boot_linux)
- return 0;
-
- return 1;
+ return 0;
}
#endif /* CONFIG_SPL_OS_BOOT */