u-boot/drivers/mmc
Walter Lozano addf358bac core: add support for U_BOOT_DRIVER_ALIAS
Currently when using OF_PLATDATA the binding between devices and drivers
is done trying to match the compatible string in the node with a driver
name. However, usually a single driver supports multiple compatible strings
which causes that only devices which its compatible string matches a
driver name get bound.

To overcome this issue, this patch adds the U_BOOT_DRIVER_ALIAS macro,
which generates no code at all, but allows an easy way to declare driver
name aliases. Thanks to this, dtoc could be improve to look for the driver
name based on its alias when it populates the U_BOOT_DEVICE entry.

Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2020-07-09 18:57:22 -06:00
..
am654_sdhci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
arm_pl180_mmci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
arm_pl180_mmci.h mmc: arm_pl180_mmci: Sync compatible with kernel 2019-04-23 15:31:30 +02:00
aspeed_sdhci.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
atmel_sdhci.c mmc: atmel_sdhci: Add sam9x60-sdhci compatibility string 2019-10-08 09:16:11 +03:00
bcm2835_sdhci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
bcm2835_sdhost.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
bcmstb_sdhci.c mmc: bcm: fix uninitialized pointer deref on probe 2019-08-09 13:45:25 +08:00
ca_dw_mmc.c mmc: ca_dw_mmc: Misc cleanup of driver 2020-06-15 09:45:22 +08:00
davinci_mmc.c drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
dw_mmc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
exynos_dw_mmc.c ARM: Odroid XU3: Modify exynos dw_mmc driver to support Odroid XU3 in DM MMC 2018-08-06 10:53:53 +09:00
fsl_esdhc_imx.c mmc: fsl_esdhc_imx: disable the CMD CRC check for standard tuning 2020-06-24 14:05:30 +08:00
fsl_esdhc_spl.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
fsl_esdhc.c mmc: fsl_esdhc: workaround for hardware 3.3v IO reliability issue 2020-06-15 09:45:22 +08:00
ftsdc010_mci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ftsdc010_mci.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gen_atmel_mci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
hi6220_dw_mmc.c mmc: Add support for HI3660 SoC reusing hi6220_dw_mmc driver 2019-08-11 16:43:41 -04:00
iproc_sdhci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
jz_mmc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
Kconfig kconfig: mmc: move pxa_mmc_generic to kconfig 2020-06-30 11:13:11 -04:00
kona_sdhci.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Makefile drivers: mmc: rpmb: do not build for SPL 2020-04-22 20:41:57 +08:00
meson_gx_mmc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mmc_boot.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mmc_legacy.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mmc_private.h mmc: add mmc_poll_for_busy() and change the purpose of mmc_send_status() 2019-07-15 10:16:49 +08:00
mmc_spi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mmc_write.c common: Drop part.h from common header 2020-05-18 17:33:33 -04:00
mmc-uclass.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mmc.c - net: pcnet: cleanup and add DM support 2020-06-30 11:43:18 -04:00
msm_sdhci.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
mtk-sd.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
mv_sdhci.c mmc: mv_sdhci: fix uninitialized pointer deref on probe 2019-07-31 15:31:36 +08:00
mvebu_mmc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mxcmmc.c common: Move get_ticks() function out of common.h 2019-12-02 18:23:13 -05:00
mxsmmc.c core: add support for U_BOOT_DRIVER_ALIAS 2020-07-09 18:57:22 -06:00
omap_hsmmc.c mmc: omap_hsmmc: Add guards around omap_hsmmc_get_cfg() 2020-06-16 17:00:02 +05:30
pci_mmc.c mmc: pci: fix uninitialized pointer deref on probe 2019-08-09 13:45:25 +08:00
pic32_sdhci.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pxa_mmc_gen.c arm: pxa: mmc: add driver model support 2020-06-30 11:13:11 -04:00
renesas-sdhi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
rockchip_dw_mmc.c core: add support for U_BOOT_DRIVER_ALIAS 2020-07-09 18:57:22 -06:00
rockchip_sdhci.c dm: core: Require users of devres to include the header 2020-02-05 19:33:46 -07:00
rpmb.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
s5p_sdhci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sandbox_mmc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sdhci-cadence.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sdhci.c mmc: sdhci: Fix HISPD bit handling 2020-06-24 14:05:30 +08:00
sh_mmcif.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sh_mmcif.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sh_sdhi.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
snps_dw_mmc.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
socfpga_dw_mmc.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sti_sdhci.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
stm32_sdmmc2.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
sunxi_mmc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
tangier_sdhci.c mmc: tangier_sdhci: fix uninitialized pointer deref on probe 2019-08-09 13:45:25 +08:00
tegra_mmc.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
tmio-common.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
tmio-common.h common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
uniphier-sd.c dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
xenon_sdhci.c common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
zynq_sdhci.c mmc: zynq_sdhci: Remove global pointer 2020-06-24 13:07:57 +02:00