1. 10 Dec, 2020 2 commits
    • Alban Bedel's avatar
      armv8: fsl-layerscape: Fix automatic setting of bootmcd with TF-A · cbf77d20
      Alban Bedel authored
      
      
      When booting from TF-A there is a logic that attempt to detect if the
      default environment is used, if this is the case it then set the
      `bootcmd` and `mcinitcmd` depending of the device we booted from.
      This detection logic is dubious as it access internals of the env
      implementation and it doesn't always work correctly.
      
      First of all it detect any valid environment as not being the
      default, so after running `env default -a && saveenv` the board
      doesn't boot anymore as `bootcmd` is then empty.
      But it also fails in some other ways, for example it always detect a
      default environment when redundant env is enabled on MMC, so in that
      case `bootcmd` is overwritten on every boot.
      
      Instead of increasing the complexity of the detection just check if
      `bootcmd` and `mcinitcmd` are set in the environment and set them if
      they are not.
      Signed-off-by: default avatarAlban Bedel <alban.bedel@aerq.com>
      Reviewed-by: default avatarPriyanka Jain <priyanka.jain@nxp.com>
      cbf77d20
    • Meenakshi Aggarwal's avatar
      armv8: lx2162a: Add Soc changes to support LX2162A · 3a187cff
      Meenakshi Aggarwal authored
      
      
      LX2162 is LX2160 based SoC, it has same die as of LX2160
      with different packaging.
      
      LX2162A support 64-bit 2.9GT/s DDR4 memory, i2c, micro-click module,
      microSD card, eMMC support, serial console, qspi nor flash, qsgmii,
      sgmii, 25g, 40g, 50g network interface, one usb 3.0 and serdes
      interface to support three PCIe gen3 interface.
      Signed-off-by: default avatarMeenakshi Aggarwal <meenakshi.aggarwal@nxp.com>
      [Fixed whitespace errors]
      Signed-off-by: default avatarPriyanka Jain <priyanka.jain@nxp.com>
      3a187cff
  2. 16 Oct, 2020 1 commit
  3. 24 Sep, 2020 2 commits
  4. 29 Jul, 2020 1 commit
  5. 27 Jul, 2020 1 commit
  6. 19 May, 2020 1 commit
  7. 18 May, 2020 1 commit
    • Simon Glass's avatar
      common: Drop net.h from common header · 90526e9f
      Simon Glass authored
      
      
      Move this header out of the common header. Network support is used in
      quite a few places but it still does not warrant blanket inclusion.
      
      Note that this net.h header itself has quite a lot in it. It could be
      split into the driver-mode support, functions, structures, checksumming,
      etc.
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      90526e9f
  8. 28 Apr, 2020 1 commit
  9. 24 Jan, 2020 2 commits
  10. 17 Jan, 2020 1 commit
  11. 26 Dec, 2019 2 commits
  12. 02 Dec, 2019 1 commit
  13. 20 Nov, 2019 1 commit
    • Tom Rini's avatar
      env: Finish migration of common ENV options · a09fea1d
      Tom Rini authored
      
      
      - In ARMv8 NXP Layerscape platforms we also need to make use of
        CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
      - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
        to 0.
      - Add Kconfig entry for ENV_ADDR.
      - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
      - Add ENV_xxx_REDUND options that depend on their primary option and
        SYS_REDUNDAND_ENVIRONMENT
      - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
        for the pre-main-U-Boot environment location.
      - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
        rather it being non-zero, as it will now be zero by default.
      - Rework the env_offset absolute in env/embedded.o to not use
        CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
        ENV_IS_IN_FLASH.
      - Migrate all platforms.
      
      Cc: Wolfgang Denk <wd@denx.de>
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Patrick Delaunay <patrick.delaunay@st.com>
      Cc: uboot-stm32@st-md-mailman.stormreply.com
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      Reviewed-by: default avatarSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
      a09fea1d
  14. 08 Nov, 2019 3 commits
  15. 21 Oct, 2019 1 commit
  16. 22 Aug, 2019 2 commits
  17. 11 Aug, 2019 2 commits
  18. 19 Jun, 2019 4 commits
  19. 17 Jan, 2019 1 commit
  20. 06 Dec, 2018 2 commits
  21. 27 Sep, 2018 1 commit
  22. 10 Aug, 2018 2 commits
  23. 26 Jul, 2018 1 commit
  24. 09 May, 2018 1 commit
  25. 07 May, 2018 1 commit
    • Tom Rini's avatar
      SPDX: Convert all of our single license tags to Linux Kernel style · 83d290c5
      Tom Rini authored
      
      
      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: default avatarTom Rini <trini@konsulko.com>
      83d290c5
  26. 27 Apr, 2018 1 commit
  27. 22 Mar, 2018 1 commit