summaryrefslogtreecommitdiff
path: root/board/compulab
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-08-08 21:20:14 +0300
committerTom Rini <trini@konsulko.com>2021-09-04 19:26:02 +0300
commitea2ca7e17ecfaeef010f8f60d05599da0fd6a519 (patch)
tree96dbcf16f91903248fa0357714c704095f23721d /board/compulab
parent52510486c59bf3a2dd91d636045af73da562a90b (diff)
downloadu-boot-ea2ca7e17ecfaeef010f8f60d05599da0fd6a519.tar.xz
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')
-rw-r--r--board/compulab/cl-som-imx7/spl.c6
-rw-r--r--board/compulab/cm_fx6/spl.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/board/compulab/cl-som-imx7/spl.c b/board/compulab/cl-som-imx7/spl.c
index 9c7332b43b..5d4c4d39e7 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)
{
diff --git a/board/compulab/cm_fx6/spl.c b/board/compulab/cm_fx6/spl.c
index 363458d9bc..079f196200 100644
--- a/board/compulab/cm_fx6/spl.c
+++ b/board/compulab/cm_fx6/spl.c
@@ -302,7 +302,7 @@ static void cm_fx6_setup_uart(void)
enable_uart_clk(1);
}
-#ifdef CONFIG_SPL_SPI_SUPPORT
+#ifdef CONFIG_SPL_SPI
static void cm_fx6_setup_ecspi(void)
{
cm_fx6_set_ecspi_iomux();