aboutsummaryrefslogtreecommitdiff
path: root/include/configs/rcar-gen2-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/rcar-gen2-common.h')
-rw-r--r--include/configs/rcar-gen2-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/rcar-gen2-common.h b/include/configs/rcar-gen2-common.h
index d606da8b0e..9213d33e21 100644
--- a/include/configs/rcar-gen2-common.h
+++ b/include/configs/rcar-gen2-common.h
@@ -53,6 +53,8 @@
/* SF MTD */
#if defined(CONFIG_SPI_FLASH_MTD) && !defined(CONFIG_SPL_BUILD)
#else
+#undef CONFIG_DM_SPI
+#undef CONFIG_DM_SPI_FLASH
#undef CONFIG_SPI_FLASH_MTD
#endif