]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: sandbox_spi: Implement speed/mode setup
authorOvidiu Panait <ovidiu.panait@windriver.com>
Mon, 14 Dec 2020 17:06:48 +0000 (19:06 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 23 Dec 2020 03:39:25 +0000 (20:39 -0700)
commit2da1800456909944b393ad8539edb0bf3e997e2d
treeab828bf50418abc67bee7bfd3b63e5fa751165d1
parent1dc53ce71d961a0404c0d785fb0b66f351a7b730
spi: sandbox_spi: Implement speed/mode setup

Implement sandbox_spi_set_{speed, mode} routines, to be able to keep track
of the current bus speed/mode. This will help determine whether the values
passed from dm_spi_claim_bus() are valid.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
drivers/spi/sandbox_spi.c