diff options
author | Simon Glass <sjg@chromium.org> | 2021-08-08 12:20:14 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-09-04 12:26:02 -0400 |
commit | ea2ca7e17ecfaeef010f8f60d05599da0fd6a519 (patch) | |
tree | 96dbcf16f91903248fa0357714c704095f23721d /board/compulab | |
parent | 52510486c59bf3a2dd91d636045af73da562a90b (diff) | |
download | u-boot-ea2ca7e17ecfaeef010f8f60d05599da0fd6a519.zip u-boot-ea2ca7e17ecfaeef010f8f60d05599da0fd6a519.tar.gz u-boot-ea2ca7e17ecfaeef010f8f60d05599da0fd6a519.tar.bz2 |
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.c | 6 | ||||
-rw-r--r-- | board/compulab/cm_fx6/spl.c | 2 |
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 9c7332b..5d4c4d3 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 363458d..079f196 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(); |