From: Jagan Teki Date: Tue, 22 Mar 2016 13:08:03 +0530 Subject: [U-Boot] [PATCH v7 51/87] test/dm: spi: Use CONFIG_DM_MTD_SPI_NOR In-Reply-To: <1458632319-24866-1-git-send-email-jteki@openedev.com> References: <1458632319-24866-1-git-send-email-jteki@openedev.com> Message-ID: <1458632319-24866-51-git-send-email-jteki@openedev.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Use CONFIG_DM_MTD_SPI_NOR instead of CONFIG_DM_SPI_FLASH Cc: Simon Glass Cc: Bin Meng Signed-off-by: Jagan Teki --- 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