
22 Mar
2016
22 Mar
'16
8:38 a.m.
Use CONFIG_DM_MTD_SPI_NOR instead of CONFIG_DM_SPI_FLASH
Cc: Simon Glass sjg@chromium.org Cc: Bin Meng bmeng.cn@gmail.com Signed-off-by: Jagan Teki jteki@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