[U-Boot] [PATCH v7 51/87] test/dm: spi: Use CONFIG_DM_MTD_SPI_NOR
Jagan Teki
jteki at openedev.com
Tue Mar 22 08:38:03 CET 2016
Use CONFIG_DM_MTD_SPI_NOR instead of CONFIG_DM_SPI_FLASH
Cc: Simon Glass <sjg at chromium.org>
Cc: Bin Meng <bmeng.cn at gmail.com>
Signed-off-by: Jagan Teki <jteki at openedev.com>
---
test/dm/spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/dm/spi.c b/test/dm/spi.c
index 2e27da7..f234c80 100644
--- a/test/dm/spi.c
+++ b/test/dm/spi.c
@@ -118,7 +118,7 @@ static int dm_test_spi_xfer(struct unit_test_state *uts)
* Since we are about to destroy all devices, we must tell sandbox
* to forget the emulation device
*/
-#ifdef CONFIG_DM_SPI_FLASH
+#ifdef CONFIG_DM_MTD_SPI_NOR
sandbox_sf_unbind_emul(state_get_current(), busnum, cs);
#endif
--
1.9.1
More information about the U-Boot
mailing list