[U-Boot] [PATCH v2 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash
Simon Glass
sjg at chromium.org
Fri Nov 6 13:07:24 CET 2015
Hi Mugunthan,
On 4 November 2015 at 01:16, Mugunthan V N <mugunthanvnm at ti.com> wrote:
> Add compatible for spansion 32MiB spi flash s25fl256s1.
>
> Signed-off-by: Mugunthan V N <mugunthanvnm at ti.com>
> ---
> drivers/mtd/spi/sf_probe.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c
> index c000c53..9cfa9b6 100644
> --- a/drivers/mtd/spi/sf_probe.c
> +++ b/drivers/mtd/spi/sf_probe.c
> @@ -502,6 +502,7 @@ static const struct dm_spi_flash_ops spi_flash_std_ops = {
>
> static const struct udevice_id spi_flash_std_ids[] = {
> { .compatible = "spi-flash" },
> + { .compatible = "s25fl256s1" },
Instead, is it possible to add "spi-flash" to the list of compatible
strings in your device tree?
> { }
> };
>
> --
> 2.6.2.280.g74301d6
>
Regards,
Simon
More information about the U-Boot
mailing list