diff options
| author | Mayuresh Chitale <[email protected]> | 2025-05-29 03:30:49 +0000 |
|---|---|---|
| committer | Leo Yu-Chi Liang <[email protected]> | 2025-06-02 16:17:21 +0800 |
| commit | 04fcd9a56bbb4e1fa8a9609804e4ca942a62b9c0 (patch) | |
| tree | f20efd0719eff1bfcc42febcaac51ab807775b5a /cmd/booti.c | |
| parent | b22a276f039f818d5564bec6637071cfc8a7e432 (diff) | |
Revert "booti/bootm: riscv: Verify image arch type"
This reverts commit 37b0b22d8b7bbed6aa95b6daed06dcbf4a66f211 as
discussed in [1].
[1] https://lists.denx.de/pipermail/u-boot/2025-May/590841.html
Signed-off-by: Mayuresh Chitale <[email protected]>
Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'cmd/booti.c')
| -rw-r--r-- | cmd/booti.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/cmd/booti.c b/cmd/booti.c index ced2c1047ab..1a57fe91397 100644 --- a/cmd/booti.c +++ b/cmd/booti.c @@ -130,11 +130,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; |
