
8 Dec
2019
8 Dec
'19
5:28 a.m.
On Sat, Dec 7, 2019 at 12:52 PM Simon Glass sjg@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@chromium.org Reviewed-by: Bin Meng bmeng.cn@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!