spi: dw: Add an initialization priority Kconfig option

On Quark SE, SPI might require GPIO to be ready before hand, to emulate
CS, thus providing an option to tweak the intialization priority for SPI
DW driver.

Change-Id: Ifa373948ac8227bf6e4ed1113bcb4dc9139b6663
Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2016-01-22 14:47:11 +01:00 committed by Anas Nashif
commit 6021c64844
3 changed files with 11 additions and 2 deletions

View file

@ -234,6 +234,9 @@ config GPIO_DW_INIT_PRIORITY
config I2C_INIT_PRIORITY
default 60
config SPI_DW_INIT_PRIORITY
default 70 # It might require GPIO to be ready first
if UART_NS16550
config UART_NS16550_PORT_0