1. 08 1月, 2020 1 次提交
  2. 15 12月, 2019 1 次提交
  3. 10 12月, 2019 1 次提交
  4. 05 12月, 2019 1 次提交
    • M
      mtd: Makefile: deep cleanup · fb438449
      Miquel Raynal 提交于
      Move MTD-related lines out of the root Makefile. Put them in their
      respective directories. Enclose some of these new lines to skip them
      when building the SPL. MTD core files and some MTD device drivers are
      compiled in a mtd.o object and included in the final object only if
      MTD support is required (there are two different symbols for that, one
      for U-Boot and one for the SPL).
      
      Now that all defconfigs have been fixed, we can stop the logic where
      enabling a command selects the core files to compile. This logic is
      broken since selecting a symbol with a 'depends on' will not enforce
      this secondary dependency.
      Signed-off-by: NMiquel Raynal <miquel.raynal@bootlin.com>
      fb438449
  5. 24 10月, 2019 1 次提交
    • F
      ufs: Add Initial Support for UFS subsystem · 7feafb0a
      Faiz Abbas 提交于
      Add Support for UFS Host Controller Interface (UFSHCI) for communicating
      with Universal Flash Storage (UFS) devices. The steps to initialize the
      host controller interface are the following:
      
      - Initiate the Host Controller Initialization process by writing to the
      Host controller enable register.
      - Configure the Host Controller base address registers by allocating a
      host memory space and related data structures.
      - Unipro link startup procedure
      - Check for connected device
      - Configure UFS host controller to process requests
      
      Also register this host controller as a SCSI host controller.
      
      Taken from Linux Kernel v5.2 (drivers/scsi/ufs/ufshcd.c) and ported to
      U-boot.
      Signed-off-by: NFaiz Abbas <faiz_abbas@ti.com>
      7feafb0a
  6. 12 8月, 2019 1 次提交
  7. 21 7月, 2019 1 次提交
    • S
      spl: kconfig: separate sysreset and firmware drivers from misc · a8b50311
      Simon Goldschmidt 提交于
      This adds separate kconfig options for drivers/sysreset and
      drivers/firmware.
      
      Up to now, CONFIG_SPL_DRIVERS_MISC_SUPPORT added drivers/misc to SPL
      build but also added drivers/firmware and drivers/sysreset at the same
      time.
      
      Since that is confusing, this patch uses CONFIG_SPL_SYSRESET for
      drivers/sysreset and adds CONFIG_SPL_FIRMWARE for
      drivers/firmware (and accordingly for the TPL options).
      
      CONFIG_SPL_DRIVERS_MISC_SUPPORT stays for including drivers/misc into
      the SPL build (and accordingly for TPL) since there are boards using
      non-DM (non UCLASS_MISC) files from drivers/misc. Such boards don't
      have CONFIG_SPL_MISC enabled, so cannot use this to include
      drivers/misc into the SPL build.
      Signed-off-by: NSimon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
      a8b50311
  8. 11 7月, 2019 1 次提交
  9. 06 5月, 2019 1 次提交
  10. 05 5月, 2019 1 次提交
  11. 20 2月, 2019 1 次提交
  12. 26 1月, 2019 2 次提交
  13. 11 1月, 2019 1 次提交
  14. 01 1月, 2019 1 次提交
  15. 15 12月, 2018 1 次提交
  16. 13 12月, 2018 2 次提交
    • S
      spl: fix build failure with !CONFIG_SPL_PCI_SUPPORT · d50d6817
      Sekhar Nori 提交于
      Building U-Boot with CONFIG_PCI and CONFIG_DM_PCI enabled, but
      CONFIG_SPL_PCI_SUPPORT disabled, results in following linker
      error:
      
      lib/built-in.o: In function `fdtdec_get_pci_bar32':
      lib/fdtdec.c:305: undefined reference to `dm_pci_read_bar32'
      fdtdec.c:305:(.text.fdtdec_get_pci_bar32+0x24): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `dm_pci_read_bar32'
      
      This is because reference to dm_pci_read_bar32() remains in lib/fdtdec.c
      while SPL build does not descend into drivers/pci directory in
      drivers/Makefile if CONFIG_SPL_PCI_SUPPORT is not enabled.
      
      Fix this by applying appropriate #define guards in lib/fdtdec.c.
      It looks like ns16550.c has the same problem, so fixed that too.
      
      To simplify this, CONFIG_SPL_PCI_SUPPORT is renamed to CONFIG_SPL_PCI
      (enables use of CONFIG_IS_ENABLED() macro).
      Suggested-by: NVignesh R <vigneshr@ti.com>
      Signed-off-by: NSekhar Nori <nsekhar@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      d50d6817
    • T
      blk: Rework guard around part_init call · 91ff6865
      Tom Rini 提交于
      The function part_init() will only be built when we have both
      CONFIG_PARTITIONS and CONFIG_HAVE_BLOCK_DEVICE set.  Protect the call to
      this function with both of these tests now.
      
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
      Cc: Michal Simek <michal.simek@xilinx.com>
      Cc: York Sun <york.sun@nxp.com>
      Cc: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
      Cc: Mingkai Hu <mingkai.hu@nxp.com>
      Cc: Stefan Roese <sr@denx.de>
      Cc: Marek Behún <marek.behun@nic.cz>
      Cc: Vanessa Maegima <vanessa.maegima@nxp.com>
      Cc: Eugen Hristev <eugen.hristev@microchip.com>
      Cc: Adam Ford <aford173@gmail.com>
      Cc: Jagan Teki <jagan@amarulasolutions.com>
      Cc: Tom Warren <twarren@nvidia.com>
      Cc: Stephen Warren <swarren@nvidia.com>
      Cc: Vitaly Andrianov <vitalya@ti.com>
      Signed-off-by: NTom Rini <trini@konsulko.com>
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      91ff6865
  17. 07 12月, 2018 1 次提交
  18. 26 11月, 2018 1 次提交
  19. 15 11月, 2018 1 次提交
  20. 07 10月, 2018 1 次提交
  21. 30 9月, 2018 1 次提交
    • M
      drivers: Add board uclass · 5381c285
      Mario Six 提交于
      Since there is no canonical "board device" that can be used in board
      files, it is difficult to use DM function for board initialization in
      these cases.
      
      Hence, add a uclass that implements a simple "board device", which can
      hold devices not suitable anywhere else in the device tree, and is also
      able to read encoded information, e.g. hard-wired GPIOs on a GPIO
      expander, read-only memory ICs, etc. that carry information about the
      hardware.
      
      The devices of this uclass expose methods to read generic data types
      (integers, strings, booleans) to encode the information provided by the
      hardware.
      Reviewed-by: NSimon Glass <sjg@chromium.org>
      Signed-off-by: NMario Six <mario.six@gdsys.cc>
      5381c285
  22. 29 9月, 2018 2 次提交
  23. 20 9月, 2018 1 次提交
  24. 11 9月, 2018 2 次提交
  25. 11 8月, 2018 1 次提交
  26. 06 8月, 2018 1 次提交
  27. 20 7月, 2018 1 次提交
  28. 10 7月, 2018 1 次提交
  29. 30 5月, 2018 2 次提交
  30. 28 5月, 2018 1 次提交
    • J
      phy: Add Allwinner A64 USB PHY driver · 67685943
      Jagan Teki 提交于
      USB PHY implementation for Allwinner SOC's can be handling
      in to single driver with different phy configs.
      
      This driver handle all Allwinner USB PHY's start from 4I to
      50I(except 9I). Currently added A64 compatibility more will
      add in next coming patches.
      
      Current implementation is unable to get pinctrl, clock and reset
      details from DT since the dm code on these will add it future.
      
      Driver named as phy-sun4i-usb.c since the same PHY logic
      work for all Allwinner SOC's start from 4I to A64 except 9I
      with different phy configurations.
      Signed-off-by: NJagan Teki <jagan@amarulasolutions.com>
      Acked-by: NJun Nie <jun.nie@linaro.org>
      67685943
  31. 11 5月, 2018 1 次提交
  32. 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
  33. 20 3月, 2018 1 次提交
  34. 05 3月, 2018 1 次提交
  35. 21 11月, 2017 1 次提交