zephyr/drivers
Ulf Magnusson d930c21e12 drivers: spi: Fix SPI_2_NRF_SPIS-related dependency loop
The following dependency loop existed:

  config SPI_SLAVE
  	bool

  (Defined at drivers/spi/Kconfig:27)

  ...is selected by...

  config SPI_2_NRF_SPIS
  	bool
  	select SPI_SLAVE

  (Defined at drivers/spi/Kconfig.nrfx:210)

  ...is in the choice...

  choice
  	bool
  	depends on SPI_2

  (Defined at drivers/spi/Kconfig.nrfx:192)

  ...that depends on...

  config SPI_2
  	bool
  	depends on SPI_SLAVE

  (Defined at
  arch/x86/soc/intel_quark/quark_se/Kconfig.defconfig.series)

  ...that again depends on SPI_SLAVE

(This might not be a problem in practice, but it'd be difficult to
detect.)

I think the underlying issue is that SPI_2_NRF_SPIS 'select's SPI_SLAVE,
while SPI_2 'depends on' it.

Fix it by having SPI_2_NRF_SPIS 'depend on' SPI_SLAVE as well. This will
require SPI_SLAVE to be explicitly enabled before SPI_2_NRF_SPIS can be
enabled.

No configuration files in Zephyr itself seem to currently enable
SPI_2_NRF_SPIS (and it defaults to n), so no tweaks should be needed
there.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2018-06-20 15:53:38 -04:00
..
adc drivers: adc: fix TOCTOU attacks 2018-05-17 15:08:54 -07:00
aio syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
bluetooth Bluetooth: hci: spi: Select BT_RECV_IS_RX_THREAD 2018-06-11 17:28:27 -04:00
can drivers: can: Set a initial state to the can device before HAL_CAN_Init 2018-06-19 20:46:25 -04:00
clock_control drivers: clock_control: Use nrf_clock HAL for registers w sideeffects 2018-06-18 11:09:19 +02:00
console uart_console: delete char using BS(08H) or DEL(7FH) 2018-05-29 16:21:55 -04:00
counter syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
crypto drivers: crypto_ataes132a: Fix typo in Kconfig symbol 2018-05-23 17:57:06 -04:00
display driver: ILI9340 LCD display driver 2018-05-18 20:21:45 +03:00
dma drivers/dma: stm32: Use CMSIS IRQ defines instead of zephyr 2018-06-13 11:43:56 +02:00
entropy drivers: entropy: nrf5: Use nrf_rng hal for registers w sideeffects 2018-06-18 11:09:19 +02:00
ethernet drivers: eth: gmac: Ensure caches are enabled before using them 2018-06-19 15:04:16 +03:00
flash drivers: flash: w25qxxdv: Avoid locking when not threaded 2018-06-18 12:31:06 -04:00
gpio drivers: gpio: add dts support for nrf52 gpio 2018-06-14 15:56:39 +02:00
grove
i2c boards: nrf: Moved SDA and SCL pin configuration to DTS for nRF boards 2018-06-20 13:38:18 +02:00
i2s arch: soc: intel_s1000: set M/N divider ownership 2018-06-01 08:59:01 -04:00
ieee802154 drivers: Replace ff hex constants with 0xff 2018-06-13 13:35:56 -04:00
interrupt_controller riscv32: riscv-privilege: Microsemi Mi-V support 2018-06-20 11:57:07 -04:00
ipm syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
led syscalls: remove policy from handler checks 2018-05-17 23:34:03 +03:00
led_strip api/spi: Reduce parameter number on transceive function 2018-04-04 19:02:35 +02:00
net net: Too long timeout for k_sleep 2018-05-28 17:20:11 -04:00
pci
pinmux can: Add can support for STM32L432 2018-06-18 15:23:29 -04:00
pwm drivers: pwm: pwm_nrf5_sw: Add prescaler support 2018-06-13 18:55:22 +02:00
rtc drivers: rtc: Fix build 2018-06-20 15:46:09 -04:00
sensor drivers: sensors: Consistently quote "GPIO_0" string default 2018-06-13 13:35:56 -04:00
serial riscv32: riscv-privilege: Microsemi Mi-V support 2018-06-20 11:57:07 -04:00
spi drivers: spi: Fix SPI_2_NRF_SPIS-related dependency loop 2018-06-20 15:53:38 -04:00
timer drivers: timer: nRFx: Use nrf_rtc hal for registers w sideeffects 2018-06-18 11:09:19 +02:00
usb drivers: usb: Add High Speed support for DesignWare USB 2018-06-19 20:16:18 -04:00
watchdog doc: fix misspelling in watchdog Kconfig 2018-06-20 12:36:48 -04:00
wifi net: drivers: wifi: SimpleLink WiFi Offload Driver (wifi_mgmt only) 2018-06-15 10:01:21 -04:00
CMakeLists.txt drivers: entropy: Remove usage of zephyr_library_ifdef 2018-05-28 13:23:13 -04:00
Kconfig drivers: can: Add Kconfig for CAN driver 2018-05-19 20:19:30 +02:00