[U-Boot] [PATCH V3 3/4] dm: spi: introduce dm api
Simon Glass
sjg at chromium.org
Sun May 1 20:54:29 CEST 2016
Hi Peng,
On 25 April 2016 at 19:20, Peng Fan <van.freenix at gmail.com> wrote:
> Introduce dm_spi_claim_bus, dm_spi_release_bus and dm_spi_xfer
>
> Signed-off-by: Peng Fan <van.freenix at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Jagan Teki <jteki at openedev.com>
> ---
>
> V3:
> As Simon suggested, introduce new API. New patch.
This looks great. But can you please adjust the legacy functions to
call your new ones? E.g. spi_claim_bus() should call your function.
>
> drivers/spi/spi-uclass.c | 48 ++++++++++++++++++++++++++++++++++++++++++++
> include/spi.h | 52 ++++++++++++++++++++++++++++++++++++++++++++++++
> 2 files changed, 100 insertions(+)
>
[snip]
More information about the U-Boot
mailing list