Commit b46f9db0 authored by Anas Nashif's avatar Anas Nashif
Browse files

spi: use global init priority



Do not have priority per IP, use one config instead.

Change-Id: Ieb2923d4749a294e2a1c677d47d56a14cee3f36d
Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 82d4c96b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ endif # PWM && I2C

# SPI uses GPIO pin for CS, so it needs to be initialized after
# the gpio_dw driver ( and the pinmux driver for port 1)
config SPI_INTEL_INIT_PRIORITY
config SPI_INIT_PRIORITY
       default 90 if SPI_INTEL

# Pin multiplexer uses PCAL9535A, needs to be initialized after it
+6 −0
Original line number Diff line number Diff line
@@ -27,6 +27,12 @@ menuconfig SPI
	  Enable support for the SPI hardware bus.

if SPI
config SPI_INIT_PRIORITY
	int "Init priority"
	default 70
	help
	  Device driver initialization priority.

config  SPI_DEBUG
	bool
	prompt "SPI drivers debug output"
+0 −7
Original line number Diff line number Diff line
@@ -40,13 +40,6 @@ config SPI_DW_CS_GPIO
	depends on SPI_DW && GPIO
	default n

config SPI_DW_INIT_PRIORITY
	int "Init priority"
	depends on SPI_DW
	default 70
	help
	  Device driver initialization priority.

choice
depends on SPI_DW && (IOAPIC || MVIC)
prompt "DesignWare SPI interrupt trigger condition"
+0 −8
Original line number Diff line number Diff line
@@ -74,14 +74,6 @@ config SPI_INTEL_CS_GPIO
	depends on SPI_INTEL && GPIO
	default n

config SPI_INTEL_INIT_PRIORITY
	int
	prompt "Init priority"
	depends on SPI_INTEL
	default 60
	help
	  Device driver initialization priority.

config	SPI_INTEL_PORT_0
	bool
	prompt "Intel SPI port 0"
+0 −8
Original line number Diff line number Diff line
@@ -27,14 +27,6 @@ menuconfig SPI_QMSI

if SPI_QMSI

config SPI_QMSI_INIT_PRIORITY
	int
	prompt "QMSI driver init priority"
	depends on SPI_QMSI
	default 60
	help
	  Device driver initialization priority.

config	SPI_QMSI_PORT_0
	bool
	prompt "QMSI SPI port 0"
Loading