summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2020-06-29 15:58:38 -0400
committerTom Rini <[email protected]>2020-06-29 15:58:38 -0400
commit50c9b0e1ddce280823484579c4ecc1f069e7833b (patch)
tree16908165e841adefa0e68693bf07a7fdb67084ab /test
parent04f005d552eb748582678a45119b55a99f75748e (diff)
parent28964227069d3f0ff3110b8064d547f6cd9fcfa6 (diff)
Merge branch '2020-06-26-more-Kconfig-migration' into next
- Bring in the first pass at cleaning up config headers that reference symbols that already have Kconfig symbols. - In order to do that, bring in the small series that adds CONFIG_SPL_DM_SPI_FLASH and makes more use of CONFIG_$(SPL_TPL_)DM_SPI in order to allow for disabling those features in SPL stuff but using them in full U-Boot
Diffstat (limited to 'test')
-rw-r--r--test/dm/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dm/spi.c b/test/dm/spi.c
index 8e417acc5f2..474008cde0d 100644
--- a/test/dm/spi.c
+++ b/test/dm/spi.c
@@ -117,7 +117,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
+#if CONFIG_IS_ENABLED(DM_SPI_FLASH)
sandbox_sf_unbind_emul(state_get_current(), busnum, cs);
#endif