Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • early-display
  • variant-emmc-nvme-boot
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
7 results

api_storage.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Andreas Färber's avatar
      ce2a07b7
      api_storage: Fix non-first storage device enumeration · ce2a07b7
      Andreas Färber authored
      
      When enabling CONFIG_API and chain-loading GRUB2 on jetson-tk1, only the
      eMMC would show up as (hd0), but not the SD card, leading to GRUB not
      finding its configuration and modules, falling back to a rescue shell.
      
      This is because enum_ended would get set for !more after returning a
      cookie for the first MMC device in group 3.
      
      Fix this by properly setting the "more" argument also in the case of the
      first storage device of a group.
      
      Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
      ce2a07b7
      History
      api_storage: Fix non-first storage device enumeration
      Andreas Färber authored
      
      When enabling CONFIG_API and chain-loading GRUB2 on jetson-tk1, only the
      eMMC would show up as (hd0), but not the SD card, leading to GRUB not
      finding its configuration and modules, falling back to a rescue shell.
      
      This is because enum_ended would get set for !more after returning a
      cookie for the first MMC device in group 3.
      
      Fix this by properly setting the "more" argument also in the case of the
      first storage device of a group.
      
      Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>