On 13 October 2014 23:42, Simon Glass <s...@chromium.org> wrote: > Adjust spi_flash_probe_slave() to return an error value instead of a > pointer so we get the correct error return. > > Have the caller allocate memory for spi_flash to simplify error handling, > and also so that driver model can use its existing allocated memory. > > Add a spi.h include in the sf_params file. > > Signed-off-by: Simon Glass <s...@chromium.org> > Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.t...@gmail.com> > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > drivers/mtd/spi/sf_probe.c | 90 > +++++++++++++++++++++++++++++----------------- > 1 file changed, 57 insertions(+), 33 deletions(-) >
Applied to u-boot-dm/master. _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot