Skip to content
Snippets Groups Projects
  • Paul Kocialkowski's avatar
    3ae8f4c8
    spl: spl_mmc: MMC boot mode provisions checks · 3ae8f4c8
    Paul Kocialkowski authored
    
    This allows using only one of either raw or fs mode for SPL mmc boot, without
    the need to have provisions for the other. In particular, a device may have
    U-Boot installed on a file system on the mmc, without ever needing to read
    U-Boot from raw memory. Thus, there is no reason to provide a sector or
    partition for raw mode. This allows this behaviour and still provides a robust
    fallback mechanism in case provisions for both modes are defined.
    
    Signed-off-by: default avatarPaul Kocialkowski <contact@paulk.fr>
    3ae8f4c8
    History
    spl: spl_mmc: MMC boot mode provisions checks
    Paul Kocialkowski authored
    
    This allows using only one of either raw or fs mode for SPL mmc boot, without
    the need to have provisions for the other. In particular, a device may have
    U-Boot installed on a file system on the mmc, without ever needing to read
    U-Boot from raw memory. Thus, there is no reason to provide a sector or
    partition for raw mode. This allows this behaviour and still provides a robust
    fallback mechanism in case provisions for both modes are defined.
    
    Signed-off-by: default avatarPaul Kocialkowski <contact@paulk.fr>