Skip to content
Snippets Groups Projects
  1. Sep 12, 2024
  2. Sep 10, 2024
  3. Jul 16, 2024
  4. May 20, 2024
  5. May 19, 2024
  6. May 07, 2024
  7. Oct 31, 2023
  8. Sep 24, 2023
  9. Dec 05, 2022
  10. Oct 11, 2022
  11. Jul 07, 2022
  12. Mar 25, 2022
  13. Mar 23, 2022
  14. Jan 28, 2022
  15. Aug 22, 2021
  16. Jul 15, 2021
  17. Jul 06, 2021
  18. Feb 02, 2021
    • Simon Glass's avatar
      common: Drop asm/global_data.h from common header · 401d1c4f
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      Move this out of the common header and include it only where needed.  In
      a number of cases this requires adding "struct udevice;" to avoid adding
      another large header or in other cases replacing / adding missing header
      files that had been pulled in, very indirectly.   Finally, we have a few
      cases where we did not need to include <asm/global_data.h> at all, so
      remove that include.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      401d1c4f
  19. Dec 13, 2020
    • Simon Glass's avatar
      dm: treewide: Rename auto_alloc_size members to be shorter · 41575d8e
      Simon Glass authored
      
      This construct is quite long-winded. In earlier days it made some sense
      since auto-allocation was a strange concept. But with driver model now
      used pretty universally, we can shorten this to 'auto'. This reduces
      verbosity and makes it easier to read.
      
      Coincidentally it also ensures that every declaration is on one line,
      thus making dtoc's job easier.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      41575d8e
  20. Nov 01, 2020
  21. Jun 02, 2020
  22. May 19, 2020
  23. May 18, 2020
    • Simon Glass's avatar
      common: Drop net.h from common header · 90526e9f
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      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: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      90526e9f
  24. Apr 24, 2020
  25. Mar 16, 2020
  26. Jan 10, 2020
  27. Dec 02, 2019
  28. Aug 11, 2019
  29. Dec 10, 2018
    • Philipp Tomsich's avatar
      bootcount: add a DM RTC backing store for bootcount · 482734aa
      Philipp Tomsich authored
      
      This implements a driver using a RTC-based backing store for the DM
      bootcount implementation.  The node configuring this feature will be
      compatible with 'u-boot,bootcount-rtc' and the underlying RTC device
      shall be reference through the property 'rtc'. An offset into the RTC
      device's register space can be provided through the 'offset' property.
      
      Tested on a RK3399-Q7 on a Flamingo carrier board using the SRAM area
      of the carrier board's RV3029 RTC.
      
      Signed-off-by: Philipp Tomsich's avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
      482734aa
    • Philipp Tomsich's avatar
      bootcount: add uclass for bootcount · ebb73de1
      Philipp Tomsich authored
      
      The original bootcount methods do not provide an interface to DM and
      rely on a static configuration for I2C devices (e.g. bus, chip-addr,
      etc. are configured through defines statically).  On a modern system
      that exposes multiple devices in a DTS-configurable way, this is less
      than optimal and a interface to DM-based devices will be desirable.
      
      This adds a simple driver that is DM-aware and configurable via DTS.
      If ambiguous (i.e. multiple bootcount-devices are present) the
      /chosen/u-boot,bootcount-device property can be used to select one
      bootcount device.
      
      Initially, this provides support for the following DM devices:
       * RTC devices
      
      Signed-off-by: Philipp Tomsich's avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
      Tested-by: default avatarKlaus Goger <klaus.goger@theobroma-systems.com>
      ebb73de1
  30. Oct 19, 2018
  31. Aug 17, 2018
  32. Aug 03, 2018
  33. Jul 23, 2018
  34. May 07, 2018
    • 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
  35. Apr 06, 2018
  36. Feb 25, 2018
    • Tom Rini's avatar
      bootcount: Migrate CONFIG_SYS_BOOTCOUNT_ADDR · 39bcbb77
      Tom Rini authored
      
      Migrate the users of CONFIG_SYS_BOOTCOUNT_ADDR to Kconfig.  We can
      provide a default for BOOTCOUNT_AM33XX as that's a specific part of the
      RTC in use.  We can also provide a default for ARCH_LS1043A and
      ARCH_LS1021A as they had been previously calculated and their symbols
      are in Kconfig.  In the case of other QE-enabled platforms, they are not
      so we must update the relevant defconfig files.  The previous default
      only applied in some cases, even on a specific SoC family.
      
      Reviewed-by: default avatarLukasz Majewski <lukma@denx.de>
      Reviewed-by: default avatarAlex Kiernan <alex.kiernan@gmail.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      39bcbb77
  37. Feb 24, 2018
Loading