[PATCH 4/6] test: spi: Add sandbox_spi_get_{speed, mode} interface

Simon Glass sjg at chromium.org
Sat Dec 12 16:39:32 CET 2020


On Sun, 6 Dec 2020 at 14:23, Ovidiu Panait <ovidiu.panait at windriver.com> wrote:
>
> Introduce sandbox_spi_get_{speed, mode} public interface to retrieve the
> sandbox spi bus internal state. They are meant to be used in sandbox spi
> testcases.
>
> Signed-off-by: Ovidiu Panait <ovidiu.panait at windriver.com>
> ---
>
>  arch/sandbox/include/asm/test.h | 16 ++++++++++++++++
>  drivers/spi/sandbox_spi.c       | 14 ++++++++++++++
>  2 files changed, 30 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list