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_legacy.c

Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
  • Marek Vasut's avatar
    62d77cea
    mmc: Improve tinification · 62d77cea
    Marek Vasut authored
    
    Drop all the extra content from the MMC core, so that tiny MMC support
    is really tiny, no fancy anything. That means the tiny MMC support does
    only 1-bit transfers at default speed settings. Moreover, this patch
    drops duplicate instance of struct mmc mmc_static, which wasted about
    360 bytes. Furthermore, since MMC tiny supports only one controller
    at all times, get rid of mallocating the ext csd backup and replace
    it with static array. All in all, this patch saves ~4 kiB of bloat
    from the MMC core, which on platforms with severe limitations can be
    beneficial.
    
    Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
    Cc: Jaehoon Chung <jh80.chung@samsung.com>
    [trini: Fixup checkpatch.pl style warnings]
    Signed-off-by: default avatarTom Rini <trini@konsulko.com>
    62d77cea
    History
    mmc: Improve tinification
    Marek Vasut authored
    
    Drop all the extra content from the MMC core, so that tiny MMC support
    is really tiny, no fancy anything. That means the tiny MMC support does
    only 1-bit transfers at default speed settings. Moreover, this patch
    drops duplicate instance of struct mmc mmc_static, which wasted about
    360 bytes. Furthermore, since MMC tiny supports only one controller
    at all times, get rid of mallocating the ext csd backup and replace
    it with static array. All in all, this patch saves ~4 kiB of bloat
    from the MMC core, which on platforms with severe limitations can be
    beneficial.
    
    Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
    Cc: Jaehoon Chung <jh80.chung@samsung.com>
    [trini: Fixup checkpatch.pl style warnings]
    Signed-off-by: default avatarTom Rini <trini@konsulko.com>