]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: spi: Add sandbox_spi_get_{speed, mode} interface
authorOvidiu Panait <ovidiu.panait@windriver.com>
Mon, 14 Dec 2020 17:06:49 +0000 (19:06 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 03:39:26 +0000 (20:39 -0700)
commitadd685fb6d8de91723d006a0382f76041320b529
tree1d2cbedf8cc08a601cc899e3e54b3aaf1870f1ac
parent2da1800456909944b393ad8539edb0bf3e997e2d
test: spi: Add sandbox_spi_get_{speed, mode} interface

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@windriver.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/include/asm/test.h
drivers/spi/sandbox_spi.c