]> git.baikalelectronics.ru Git - uboot.git/commit
test: sf: Add a simple SPI flash test
authorSimon Glass <sjg@chromium.org>
Tue, 6 Nov 2018 22:21:40 +0000 (15:21 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Nov 2018 02:14:22 +0000 (19:14 -0700)
commit0312228ee2bb15e161c98488408db5557d07e1cd
treefdfff4861ec25c2d195c05fad0983bd57b44355d
parent4253e1c173291d676466231b338b088c6d3ae8f5
test: sf: Add a simple SPI flash test

The current test is a functional test, covering all the way from the
command line to the sandbox SPI driver. This is useful, but it is easier
to diagnose failures with a smaller test.

Add a simple test which reads and writes data and checks that it is stored
and retrieved correctly.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/dm/sf.c