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

mmc.c

Blame
  • Forked from Reform / reform-boundary-uboot
    Source project has a limited visibility.
    • Jan Kloetzke's avatar
      93ad0d18
      mmc: fix card busy polling · 93ad0d18
      Jan Kloetzke authored
      
      A MMC/SD card may always go into the programming state (and hence be
      busy) after a block write. Therefore always check the card state, even
      after single block writes. On the other hand there is no need to check
      the card status after a read.
      
      Also make sure that errors during busy polling are propagated upwards.
      
      Signed-off-by: default avatarJan Kloetzke <jan.kloetzke@dspg.com>
      Cc: Andy Fleming <afleming@gmail.com>
      93ad0d18
      History
      mmc: fix card busy polling
      Jan Kloetzke authored
      
      A MMC/SD card may always go into the programming state (and hence be
      busy) after a block write. Therefore always check the card state, even
      after single block writes. On the other hand there is no need to check
      the card status after a read.
      
      Also make sure that errors during busy polling are propagated upwards.
      
      Signed-off-by: default avatarJan Kloetzke <jan.kloetzke@dspg.com>
      Cc: Andy Fleming <afleming@gmail.com>