aboutsummaryrefslogtreecommitdiff
path: root/board/compulab/cl-som-imx7
diff options
context:
space:
mode:
authorSimon Glass2021-08-08 12:20:14 -0600
committerTom Rini2021-09-04 12:26:02 -0400
commitea2ca7e17ecfaeef010f8f60d05599da0fd6a519 (patch)
tree96dbcf16f91903248fa0357714c704095f23721d /board/compulab/cl-som-imx7
parent52510486c59bf3a2dd91d636045af73da562a90b (diff)
spi: Rename SPI_SUPPORT to SPI
Rename these options so that CONFIG_IS_ENABLED can be used with them. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/compulab/cl-som-imx7')
-rw-r--r--board/compulab/cl-som-imx7/spl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/compulab/cl-som-imx7/spl.c b/board/compulab/cl-som-imx7/spl.c
index 9c7332b43b5..5d4c4d39e72 100644
--- a/board/compulab/cl-som-imx7/spl.c
+++ b/board/compulab/cl-som-imx7/spl.c
@@ -157,15 +157,15 @@ static void cl_som_imx7_spl_dram_cfg(void)
}
}
-#ifdef CONFIG_SPL_SPI_SUPPORT
+#ifdef CONFIG_SPL_SPI
static void cl_som_imx7_spl_spi_init(void)
{
cl_som_imx7_espi1_pads_set();
}
-#else /* !CONFIG_SPL_SPI_SUPPORT */
+#else /* !CONFIG_SPL_SPI */
static void cl_som_imx7_spl_spi_init(void) {}
-#endif /* CONFIG_SPL_SPI_SUPPORT */
+#endif /* CONFIG_SPL_SPI */
void board_init_f(ulong dummy)
{