summaryrefslogtreecommitdiff
path: root/test/dm/Makefile
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-14 05:42:11 (GMT)
committerSimon Glass <sjg@chromium.org>2014-10-22 16:36:52 (GMT)
commit0ae0cb7b50ab7836fb2a625a389d7a83698c2150 (patch)
tree59a26153bfd003ecc93c53883fcf5627e29c84d7 /test/dm/Makefile
parentebcab48a031fc96d5d6292564a35cf772d4e539c (diff)
downloadu-boot-0ae0cb7b50ab7836fb2a625a389d7a83698c2150.tar.xz
dm: sf: Add tests for SPI flash
Add a simple test for SPI that uses SPI flash. It operates by creating a SPI flash file and using the 'sf test' command to test that all operations work correctly. Signed-off-by: Simon Glass <sjg@chromium.org> Acked-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'test/dm/Makefile')
-rw-r--r--test/dm/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dm/Makefile b/test/dm/Makefile
index d1b9c9a..75d3d41 100644
--- a/test/dm/Makefile
+++ b/test/dm/Makefile
@@ -19,4 +19,5 @@ obj-$(CONFIG_DM_TEST) += ut.o
ifneq ($(CONFIG_SANDBOX),)
obj-$(CONFIG_DM_GPIO) += gpio.o
obj-$(CONFIG_DM_SPI) += spi.o
+obj-$(CONFIG_DM_SPI_FLASH) += sf.o
endif