drivers: spi: dw: remove HAS_SPI_DW Kconfig

The HAS_SPI_DW Kconfig is rather unncessary. If the synopsys designware
spi is to be included. It should come from the devicetree.

Signed-off-by: Ryan McClelland <ryanmcclelland@meta.com>
This commit is contained in:
Ryan McClelland 2023-10-28 11:54:02 -07:00 committed by Carles Cufí
commit 2ee2b6ac08
4 changed files with 1 additions and 9 deletions

View file

@ -1,18 +1,13 @@
# DesignWare SPI driver configuration options
# Copyright (c) 2015-2016 Intel Corporation
# Copyright (c) 2023 Meta Platforms
# SPDX-License-Identifier: Apache-2.0
config HAS_SPI_DW
bool
help
Signifies whether DesignWare SPI compatible HW is available
menuconfig SPI_DW
bool "Designware SPI controller driver"
default y
depends on DT_HAS_SNPS_DESIGNWARE_SPI_ENABLED
depends on HAS_SPI_DW
help
Enable support for Designware's SPI controllers.

View file

@ -4,4 +4,3 @@
config SOC_ARC_EMSDP
bool "Synopsys ARC EM Software Development Platform"
select ARC
select HAS_SPI_DW if SPI

View file

@ -5,4 +5,3 @@
config SOC_EMSK
bool "Synopsys ARC EM Starter Kit SoC"
select ARC
select HAS_SPI_DW if SPI

View file

@ -9,7 +9,6 @@ config SOC_SERIES_CYCLONE5
select CPU_CORTEX_A9
select SOC_FAMILY_INTEL_SOCFPGA_STD
select ARM_ARCH_TIMER_ERRATUM_740657 if ARM_ARCH_TIMER
select HAS_SPI_DW if SPI
select ARCH_HAS_RESERVED_PAGE_FRAMES
help
Support for Intel SoC FPGA Series