Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
14 results

env_mmc.c

  • Jean-Jacques Hiblot's avatar
    687d2073
    env_mmc: Allow SPL to use any MMC device to load/save the environment · 687d2073
    Jean-Jacques Hiblot authored
    
    SPL has been restricted to use only dev 0 based on the assumption that only
    one MMC device is registered. This is not always the case and many
    platforms now register several devices as expected by the spl mmc boot code
    For those platform SPL_ENV_SUPPORT is broken if dev is forced to 0.
    
    A word of warning: this commit may break SPL_ENV_SUPPORT on platforms that
    do not register the same MMC controllers in SPL and in u-boot (mostly iMX6
    based platforms). Fortunately none of those activate SPL_ENV_SUPPORT in
    their default configuration.
    
    Signed-off-by: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
    687d2073
    History
    env_mmc: Allow SPL to use any MMC device to load/save the environment
    Jean-Jacques Hiblot authored
    
    SPL has been restricted to use only dev 0 based on the assumption that only
    one MMC device is registered. This is not always the case and many
    platforms now register several devices as expected by the spl mmc boot code
    For those platform SPL_ENV_SUPPORT is broken if dev is forced to 0.
    
    A word of warning: this commit may break SPL_ENV_SUPPORT on platforms that
    do not register the same MMC controllers in SPL and in u-boot (mostly iMX6
    based platforms). Fortunately none of those activate SPL_ENV_SUPPORT in
    their default configuration.
    
    Signed-off-by: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>