summaryrefslogtreecommitdiff
path: root/arch/riscv/lib
diff options
context:
space:
mode:
authorMayuresh Chitale <mchitale@ventanamicro.com>2025-05-29 03:30:49 +0000
committerLeo Yu-Chi Liang <ycliang@andestech.com>2025-06-02 16:17:21 +0800
commit04fcd9a56bbb4e1fa8a9609804e4ca942a62b9c0 (patch)
treef20efd0719eff1bfcc42febcaac51ab807775b5a /arch/riscv/lib
parentb22a276f039f818d5564bec6637071cfc8a7e432 (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 <mchitale@ventanamicro.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'arch/riscv/lib')
-rw-r--r--arch/riscv/lib/bootm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/riscv/lib/bootm.c b/arch/riscv/lib/bootm.c
index c98c5e76633..9544907ab1e 100644
--- a/arch/riscv/lib/bootm.c
+++ b/arch/riscv/lib/bootm.c
@@ -90,10 +90,6 @@ static void boot_jump_linux(struct bootm_headers *images, int flag)
announce_and_cleanup(fake);
if (!fake) {
- if (images->os.arch != IH_ARCH_DEFAULT) {
- printf("Image arch not compatible with host arch.\n");
- hang();
- }
if (CONFIG_IS_ENABLED(OF_LIBFDT) && images->ft_len) {
#ifdef CONFIG_SMP
ret = smp_call_function(images->ep,