0003-Fix-u-boot-proper-booting-issue.patch 689 B

1234567891011121314151617181920212223242526
  1. From 3d09501175ae6f5e3f6520b48b1358226a99ff16 Mon Sep 17 00:00:00 2001
  2. From: Yu Chien Peter Lin <peterlin@andestech.com>
  3. Date: Wed, 5 Jan 2022 18:17:39 +0800
  4. Subject: [PATCH] Fix u-boot proper booting issue
  5. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
  6. ---
  7. arch/riscv/cpu/start.S | 2 ++
  8. 1 file changed, 2 insertions(+)
  9. diff --git a/arch/riscv/cpu/start.S b/arch/riscv/cpu/start.S
  10. index 76850ec9..2ccda4f5 100644
  11. --- a/arch/riscv/cpu/start.S
  12. +++ b/arch/riscv/cpu/start.S
  13. @@ -139,7 +139,9 @@ call_harts_early_init:
  14. * accesses gd).
  15. */
  16. mv gp, s0
  17. +#if !CONFIG_IS_ENABLED(RISCV_SMODE)
  18. bnez tp, secondary_hart_loop
  19. +#endif
  20. #endif
  21. jal board_init_f_init_reserve
  22. --
  23. 2.25.1