Use CONFIG_DM_MTD_SPI_NOR instead of CONFIG_DM_SPI_FLASH Cc: Simon Glass <s...@chromium.org> Cc: Bin Meng <bmeng...@gmail.com> Signed-off-by: Jagan Teki <jt...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot