From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 8 Dec 2019 12:28:01 +0800 Subject: [PATCH v6 077/102] mtd: spi: Export spi_flash_std_probe() In-Reply-To: <20191206213936.v6.77.I569024b73abf1633739564c75a77590ab2dffc26@changeid> References: <20191207044315.51770-1-sjg@chromium.org> <20191206213936.v6.77.I569024b73abf1633739564c75a77590ab2dffc26@changeid> 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 Sat, Dec 7, 2019 at 12:52 PM 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 > Reviewed-by: Bin Meng > --- > > 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!