summaryrefslogtreecommitdiff
path: root/cmd/booti.c
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-06-09 16:28:28 -0600
committerTom Rini <[email protected]>2025-06-09 16:28:28 -0600
commit59d00e20fced23e6463aa09db889dd548baee677 (patch)
tree2502afc87e22058b3efd0a5c3d878e62ba52e96e /cmd/booti.c
parent865130b7308453b9436942f01cc4481124b820eb (diff)
parentd7c449c3d83a986d61e38d1762433c0607caf5c5 (diff)
Merge tag 'v2025.07-rc4' into next
Prepare v2025.07-rc4
Diffstat (limited to 'cmd/booti.c')
-rw-r--r--cmd/booti.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/cmd/booti.c b/cmd/booti.c
index f5ae58139da..7e6d9426299 100644
--- a/cmd/booti.c
+++ b/cmd/booti.c
@@ -131,11 +131,8 @@ int do_booti(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
bootm_disable_interrupts();
images.os.os = IH_OS_LINUX;
- if (IS_ENABLED(CONFIG_RISCV))
- if (IS_ENABLED(CONFIG_64BIT))
- images.os.arch = IH_ARCH_RISCV64;
- else
- images.os.arch = IH_ARCH_RISCV;
+ if (IS_ENABLED(CONFIG_RISCV_SMODE))
+ images.os.arch = IH_ARCH_RISCV;
else if (IS_ENABLED(CONFIG_ARM64))
images.os.arch = IH_ARCH_ARM64;