From b5dd8ac37c8d00c0d8c789372e3f2e63e6622975 Mon Sep 17 00:00:00 2001 From: Rajavardhan Gundi Date: Mon, 10 Dec 2018 13:41:24 +0530 Subject: [PATCH] Kconfig: intel_s1000: Move FIFO_DEPTH to soc Kconfig FIFO_DEPTH should be in the SoC's Kconfig as this is a configuration of SPI master controller in SoC. Signed-off-by: Rajavardhan Gundi --- boards/xtensa/intel_s1000_crb/Kconfig.defconfig | 3 --- soc/xtensa/intel_s1000/Kconfig.defconfig | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/xtensa/intel_s1000_crb/Kconfig.defconfig b/boards/xtensa/intel_s1000_crb/Kconfig.defconfig index b9cbcf21690..4e7419dae1b 100644 --- a/boards/xtensa/intel_s1000_crb/Kconfig.defconfig +++ b/boards/xtensa/intel_s1000_crb/Kconfig.defconfig @@ -55,9 +55,6 @@ config HEAP_MEM_POOL_SIZE endif # DMA_CAVS -config SPI_DW_FIFO_DEPTH - default 32 - if BOOTLOADER_MCUBOOT config TEXT_SECTION_OFFSET default 0x100 diff --git a/soc/xtensa/intel_s1000/Kconfig.defconfig b/soc/xtensa/intel_s1000/Kconfig.defconfig index c3155bfaa69..d3919019490 100644 --- a/soc/xtensa/intel_s1000/Kconfig.defconfig +++ b/soc/xtensa/intel_s1000/Kconfig.defconfig @@ -20,4 +20,7 @@ config XTENSA_ASM2 config XTENSA_KERNEL_CPU_PTR_SR default "EXCSAVE2" +config SPI_DW_FIFO_DEPTH + default 32 + endif