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

spl.h

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Tom Rini's avatar
    c3d2c24f
    OMAP3/4/5/AM33xx: Correct logic for checking FAT or RAW MMC · c3d2c24f
    Tom Rini authored
    
    In the case of booting from certain peripherals, such as UART, we must
    not see what the device descriptor says for RAW or FAT mode because in
    addition to being nonsensical, it leads to a hang.  This is why we have
    a test currently for the boot mode being within range.  The problem
    however is that on some platforms we get MMC2_2 as the boot mode and not
    the defined value for MMC2, and in others we get the value for MMC2_2.
    This is required to fix eMMC booting on omap5_uevm.
    
    Tested on am335x_evm (UART, NAND, SD), omap3_beagle (NAND, SD on
    classic, SD only on xM rev C5) and omap5_uevm (SD, eMMC).
    
    Signed-off-by: default avatarTom Rini <trini@ti.com>
    c3d2c24f
    History
    OMAP3/4/5/AM33xx: Correct logic for checking FAT or RAW MMC
    Tom Rini authored
    
    In the case of booting from certain peripherals, such as UART, we must
    not see what the device descriptor says for RAW or FAT mode because in
    addition to being nonsensical, it leads to a hang.  This is why we have
    a test currently for the boot mode being within range.  The problem
    however is that on some platforms we get MMC2_2 as the boot mode and not
    the defined value for MMC2, and in others we get the value for MMC2_2.
    This is required to fix eMMC booting on omap5_uevm.
    
    Tested on am335x_evm (UART, NAND, SD), omap3_beagle (NAND, SD on
    classic, SD only on xM rev C5) and omap5_uevm (SD, eMMC).
    
    Signed-off-by: default avatarTom Rini <trini@ti.com>