u-boot-brain/drivers/mtd/spi
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
..
fsl_espi_spl.c common: Move hang() to the same header as panic() 2020-01-17 17:53:40 -05:00
Kconfig mtd: spi: SPI_FLASH_MTD depends on MTD 2019-12-04 17:10:51 -05:00
Makefile spi: Convert CONFIG_DM_SPI* to CONFIG_$(SPL_TPL_)DM_SPI* 2020-06-29 13:34:43 -04:00
sandbox.c sandbox: spi: sandbox_sf_state_name() is required 2020-07-09 18:57:21 -06:00
sf_dataflash.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
sf_internal.h sf: Drop spl_flash_get_sw_write_prot 2020-06-01 17:55:24 +05:30
sf_mtd.c common: Drop flash.h from common header 2020-05-18 14:53:28 -04:00
sf_probe.c core: add support for U_BOOT_DRIVER_ALIAS 2020-07-09 18:57:22 -06:00
sf-uclass.c drivers: rename drivers to match compatible string 2020-07-09 18:57:22 -06:00
spi-nor-core.c mtd: spi: Call sst_write in _write ops 2020-06-01 17:55:24 +05:30
spi-nor-ids.c sf: Add Macronix MX25R6435F SPI NOR flash to flash parameters array 2020-05-11 01:30:49 +05:30
spi-nor-tiny.c sf: Drop spl_flash_get_sw_write_prot 2020-06-01 17:55:24 +05:30