Skip to content
  • Philipp Tomsich's avatar
    Kconfig: Migrate BOUNCE_BUFFER · 2acc24fc
    Philipp Tomsich authored and Tom Rini's avatar Tom Rini committed
    
    
    The bounce buffer is used by a few drivers (most of the MMC drivers)
    to overcome limitations in their respective DMA implementation.
    
    This moves the configuration to Kconfig and makes it user-selectable
    (even though it will be a required feature to make those drivers
    work): the expected usage is for drivers depending on this to 'select'
    it unconditionally from their respective Kconfig (see follow-up
    patches).
    
    This commit includes a full migration using moveconfig.py to ensure
    that each commit compiles.  To ensure bisectability we update
    dependencies of various drivers to now select BOUNCE_BUFFER when needed.
    
    [trini: Squash all patches to ensure bisectability]
    Signed-off-by: default avatarTom Rini <trini@konsulko.com>
    Signed-off-by: Philipp Tomsich's avatarPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
    Reviewed-by: Otavio Salvador <otavio@ossystems.com.br> [dw_mmc portion]
    Reviewed-by: Fabio Estevam <festevam@gmail.com> [mxsmmc portion]
    Reviewed-by: Simon Glass <sjg@chromium.org> [tegra portion]
    2acc24fc