Skip to content
Snippets Groups Projects
  1. Dec 21, 2023
  2. Oct 24, 2023
  3. Oct 10, 2023
  4. Sep 24, 2023
  5. Sep 11, 2023
  6. Aug 25, 2023
  7. Aug 22, 2023
  8. Jul 30, 2023
  9. Jul 25, 2023
    • Heinrich Schuchardt's avatar
      part: eliminate part_get_info_by_name_type() · 8faeb1d7
      Heinrich Schuchardt authored and Tom Rini's avatar Tom Rini committed
      
      Since commit 56670d6f ("disk: part: use common api to lookup part
      driver") part_get_info_by_name_type() ignores the part_type parameter
      used to restrict the partition table type.
      
      omap_mmc_get_part_size() and part_get_info_by_name() are the only
      consumers.
      
      omap_mmc_get_part_size() calls with part_type = PART_TYPE_EFI because at
      the time of implementation a speed up could be gained by passing the
      partition table type. After 5 years experience without this restriction
      it looks safe to keep it that way.
      
      part_get_info_by_name() uses PART_TYPE_ALL.
      
      Move the logic of part_get_info_by_name_type() to part_get_info_by_name()
      and replace the function in omap_mmc_get_part_size().
      
      Fixes: 56670d6f ("disk: part: use common api to lookup part driver")
      Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      8faeb1d7
  10. Jul 17, 2023
  11. Apr 05, 2023
    • Tobias Waldekranz's avatar
      cmd: blkmap: Add blkmap command · bb56da11
      Tobias Waldekranz authored and Tom Rini's avatar Tom Rini committed
      
      Add a frontend for the blkmap subsystem. In addition to the common
      block device operations, this allows users to create and destroy
      devices, and map in memory and slices of other block devices.
      
      With that we support two primary use-cases:
      
      - Being able to "distro boot" from a RAM disk. I.e., from an image
        where the kernel is stored in /boot of some filesystem supported
        by U-Boot.
      
      - Accessing filesystems not located on exact partition boundaries,
        e.g. when a filesystem image is wrapped in an FIT image and stored
        in a disk partition.
      
      Signed-off-by: default avatarTobias Waldekranz <tobias@waldekranz.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      bb56da11
  12. Apr 03, 2023
  13. Mar 30, 2023
  14. Mar 02, 2023
    • Simon Glass's avatar
      lib: Add an SPL config for LIB_UUID · 3b510807
      Simon Glass authored and Tom Rini's avatar Tom Rini committed
      
      This is selected by PARTITION_UUIDS which has a separate option for SPL.
      Add an SPL option for LIB_UUID also, so that we can keep them consistent.
      
      Also add one for PARTITION_TYPE_GUID to avoid a build error in part_efi.c
      which wants to call a uuid function in SPL.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      3b510807
  15. Feb 10, 2023
  16. Feb 09, 2023
  17. Jan 23, 2023
  18. Dec 02, 2022
  19. Nov 07, 2022
    • Simon Glass's avatar
      dm: sandbox: Switch over to using the new host uclass · 95201811
      Simon Glass authored
      
      Update the sandbox implementation to use UCLASS_HOST and adjust all
      the pieces to continue to work:
      
      - Update the 'host' command to use the new API
      - Replace various uses of UCLASS_ROOT with UCLASS_HOST
      - Disable test_eficonfig since it doesn't work (this should have a unit
        test to allow this to be debugged)
      - Update the blk test to use the new API
      - Drop the old header file
      
      Unfortunately it does not seem to be possible to split this change up
      further.
      
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      95201811
  20. Oct 31, 2022
Loading