1. 03 9月, 2021 1 次提交
    • T
      Revert most of the series for adding vexpress_aemv8r support · 00179319
      Tom Rini 提交于
      Per a request from Andre Przywara and agreed with by Peter Hoyes, the
      vexpress aemv8r support wasn't quite ready to be merged, but the
      discussion had moved off list.  We should keep the first patch in the
      series for now, but revert the rest.  This reverts the following
      commits:
      
      e0bd6f31 doc: Add documentation for the Arm vexpress board configs
      30e5a449 arm: Use armv8_switch_to_el1 env to switch to EL1
      b53bbca6 vexpress64: Add BASER_FVP vexpress board variant
      2f5b7b74 armv8: Add ARMv8 MPU configuration logic
      37a757e2 armv8: Ensure EL1&0 VMSA is enabled
      Signed-off-by: NTom Rini <trini@konsulko.com>
      00179319
  2. 02 9月, 2021 1 次提交
    • P
      arm: Use armv8_switch_to_el1 env to switch to EL1 · 30e5a449
      Peter Hoyes 提交于
      Use the environment variable armv8_switch_to_el1 to determine whether
      to switch to EL1 at runtime. This is an alternative to the
      CONFIG_ARMV8_SWITCH_TO_EL1 compile-time option.
      
      The environment variable will be ineffective if the ARMV8_MULTIENTRY
      config is used.
      
      This is required by the Armv8r64 architecture, which must be able to
      boot at S-EL1 for Linux but may need to boot at other ELs for other
      systems.
      Signed-off-by: NPeter Hoyes <Peter.Hoyes@arm.com>
      30e5a449
  3. 08 8月, 2021 1 次提交
    • J
      Revert "arm: bootm: Disable LMB reservation for command line and board info on arm64" · 3823315c
      Jan Kiszka 提交于
      This reverts commit 2359fa7a.
      
      While the goal is valid and there is surely unused memory in that area,
      we also have a lot of crucial things still located at the top-of-memory
      while running lmb_alloc_base. Such things are the page table (tlb_addr),
      relocated U-Boot and the active stack. Possibly more. So this patch was
      premature, we will need relocations of those things first if we want to
      use the range.
      
      Fixes booting on the IOT2050, but likely also on other boards. It got
      stuck on relocating the FDT - over the relocated U-Boot code.
      Signed-off-by: NJan Kiszka <jan.kiszka@siemens.com>
      3823315c
  4. 10 7月, 2021 1 次提交
    • M
      arm: bootm: Disable LMB reservation for command line and board info on arm64 · 2359fa7a
      Marek Vasut 提交于
      On arm64, board info is not applicable and kernel command line patched into
      the DT, so the LMB reservation here makes no sense anymore. On legacy arm32,
      this might still be necessary on systems which do not use DT or use legacy
      ATAGS. Disable this LMB reservation on arm64.
      
      This also permits Linux DT to specify reserved memory node at address close
      to the end of DRAM bank, i.e. overlaping with U-Boot location. Since after
      boot, U-Boot will be no more, this is OK.
      Signed-off-by: NMarek Vasut <marek.vasut+renesas@gmail.com>
      Cc: Hai Pham <hai.pham.ud@renesas.com>
      Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
      Cc: Stephen Warren <swarren@nvidia.com>
      Cc: Tom Rini <trini@konsulko.com>
      2359fa7a
  5. 13 4月, 2021 1 次提交
    • H
      bootm: do not hang on failure · 0ca7c4d9
      Heinrich Schuchardt 提交于
      On ARMv8 systems
      
          load mmc 0:1 $loadaddr  vmlinuz-5.10.0-3-arm64
          booti
      
      leads to a hanging system requiring to physically reset the system:
      
          FDT and ATAGS support not compiled in - hanging
          ### ERROR ### Please RESET the board ###
      
      For systems where physical access is difficult hanging is a poor choice.
      It is preferable to reset the system when U-Boot reaches a state that is
      not recoverable.
      Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      0ca7c4d9
  6. 03 2月, 2021 2 次提交
  7. 17 7月, 2020 1 次提交
    • M
      treewide: convert bd_t to struct bd_info by coccinelle · b75d8dc5
      Masahiro Yamada 提交于
      The Linux coding style guide (Documentation/process/coding-style.rst)
      clearly says:
      
        It's a **mistake** to use typedef for structures and pointers.
      
      Besides, using typedef for structures is annoying when you try to make
      headers self-contained.
      
      Let's say you have the following function declaration in a header:
      
        void foo(bd_t *bd);
      
      This is not self-contained since bd_t is not defined.
      
      To tell the compiler what 'bd_t' is, you need to include <asm/u-boot.h>
      
        #include <asm/u-boot.h>
        void foo(bd_t *bd);
      
      Then, the include direcective pulls in more bloat needlessly.
      
      If you use 'struct bd_info' instead, it is enough to put a forward
      declaration as follows:
      
        struct bd_info;
        void foo(struct bd_info *bd);
      
      Right, typedef'ing bd_t is a mistake.
      
      I used coccinelle to generate this commit.
      
      The semantic patch that makes this change is as follows:
      
        <smpl>
        @@
        typedef bd_t;
        @@
        -bd_t
        +struct bd_info
        </smpl>
      Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
      b75d8dc5
  8. 19 5月, 2020 5 次提交
  9. 18 4月, 2020 1 次提交
  10. 25 1月, 2020 1 次提交
  11. 18 1月, 2020 1 次提交
  12. 03 12月, 2019 1 次提交
  13. 26 10月, 2019 1 次提交
  14. 12 8月, 2019 1 次提交
  15. 22 3月, 2019 1 次提交
  16. 17 1月, 2019 1 次提交
  17. 11 5月, 2018 1 次提交
  18. 07 5月, 2018 1 次提交
    • T
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini 提交于
      When U-Boot started using SPDX tags we were among the early adopters and
      there weren't a lot of other examples to borrow from.  So we picked the
      area of the file that usually had a full license text and replaced it
      with an appropriate SPDX-License-Identifier: entry.  Since then, the
      Linux Kernel has adopted SPDX tags and they place it as the very first
      line in a file (except where shebangs are used, then it's second line)
      and with slightly different comment styles than us.
      
      In part due to community overlap, in part due to better tag visibility
      and in part for other minor reasons, switch over to that style.
      
      This commit changes all instances where we have a single declared
      license in the tag as both the before and after are identical in tag
      contents.  There's also a few places where I found we did not have a tag
      and have introduced one.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      83d290c5
  19. 14 4月, 2018 1 次提交
    • V
      vxworks: fixed cpu enable using PSCI on armv8 · 3194daa1
      Vasyl Vavrychuk 提交于
      Without armv8_setup_psci register VBAR_EL3 is not set up property which
      makes SMC calls jump to invalid location.
      
      smp_kick_all_cpus is required to make slave cpus leave gic_wait_for_interrupt.
      Without this they will never pursue booting process.
      
      Fix was applied to the two ways of booting VxWorks: bootvx and bootm commands.
      
      This implementation is very similar to what is done in boot_jump_linux
      in arch/arm/lib/bootm.c file.
      
      Tested on VxWorks 7 release SR0520 2017-12-08 Intel Stratix 10 SX SoC
      Development Kit board.
      Signed-off-by: NVasyl Vavrychuk <vasyl.vavrychuk@globallogic.com>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      3194daa1
  20. 05 3月, 2018 1 次提交
  21. 13 1月, 2018 1 次提交
  22. 16 8月, 2017 1 次提交
  23. 30 6月, 2017 1 次提交
  24. 10 6月, 2017 1 次提交
  25. 05 6月, 2017 1 次提交
  26. 01 6月, 2017 1 次提交
  27. 28 4月, 2017 1 次提交
  28. 05 4月, 2017 1 次提交
  29. 19 1月, 2017 1 次提交
  30. 16 12月, 2016 1 次提交
  31. 03 12月, 2016 1 次提交
  32. 23 11月, 2016 2 次提交
  33. 17 11月, 2016 1 次提交
    • A
      ls2080: Exit dpaa only right before exiting U-Boot · b7b8410a
      Alexander Graf 提交于
      On ls2080 we have a separate network fabric component which we need to
      shut down before we enter Linux (or any other OS). Along with that also
      comes configuration of the fabric using a description file.
      
      Today we always stop and configure the fabric in the boot script and
      (again) exit it on device tree generation. This works ok for the normal
      booti case, but with bootefi the payload we're running may still want to
      access the network.
      
      So let's add a new fsl_mc command that defers configuration and stopping
      the hardware to when we actually exit U-Boot, so that we can still use
      the fabric from an EFI payload.
      
      For existing boot scripts, nothing should change with this patch.
      Signed-off-by: NAlexander Graf <agraf@suse.de>
      Reviewed-by: NYork Sun <york.sun@nxp.com>
      [agraf: Fix x86 build]
      b7b8410a
  34. 16 8月, 2016 1 次提交