[PATCH v6 077/102] mtd: spi: Export spi_flash_std_probe()

Bin Meng bmeng.cn at gmail.com
Sun Dec 8 05:28:01 CET 2019


On Sat, Dec 7, 2019 at 12:52 PM Simon Glass <sjg at chromium.org> wrote:
>
> With of-platdata we need to create drivers for particular chips, or at
> least drivers that are separate from the standard code, since C structures
> are created by dtoc which are private to that driver.
>
> To avoid duplicating the probing code, export this probe function for use
> by these drivers.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v6: None
> Changes in v5: None
> Changes in v4: None
> Changes in v3: None
> Changes in v2: None
>
>  drivers/mtd/spi/sf_probe.c |  2 +-
>  include/spi_flash.h        | 12 ++++++++++++
>  2 files changed, 13 insertions(+), 1 deletion(-)
>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list