From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Tue, 19 Nov 2019 22:52:49 +0800 Subject: [U-Boot] [PATCH v3 088/108] mtd: spi: Export spi_flash_std_probe() In-Reply-To: <20191021033913.220758-83-sjg@chromium.org> References: <20191021033913.220758-22-sjg@chromium.org> <20191021033913.220758-83-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Oct 21, 2019 at 11:40 AM Simon Glass 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 > --- > > 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(-) > Reviewed-by: Bin Meng