From 8c3a1cb23a3e049c7a22d9ba827dfa3354654588 Mon Sep 17 00:00:00 2001 From: Tomasz Bursztyka Date: Mon, 5 Nov 2018 11:21:01 +0100 Subject: [PATCH] soc: Remove useless Kconfig options and config for Galileo and SPI These are set via DTS now. Fixes #11064 Signed-off-by: Tomasz Bursztyka --- .../quark_x1000/Kconfig.defconfig.series | 27 ------------------- soc/x86/intel_quark/quark_x1000/soc.h | 5 ---- 2 files changed, 32 deletions(-) diff --git a/soc/x86/intel_quark/quark_x1000/Kconfig.defconfig.series b/soc/x86/intel_quark/quark_x1000/Kconfig.defconfig.series index 0bc66225cfe..6f40fc69e16 100644 --- a/soc/x86/intel_quark/quark_x1000/Kconfig.defconfig.series +++ b/soc/x86/intel_quark/quark_x1000/Kconfig.defconfig.series @@ -137,39 +137,12 @@ config SPI_INTEL if SPI_INTEL -config SPI_CS_GPIO - def_bool y - config SPI_0 def_bool y -if SPI_0 - -config SPI_0_IRQ_PRI - default 2 -config SPI_0_CS_GPIO_PORT - default "GPIO_0" -config SPI_0_CS_GPIO_PIN - default 0 - -endif # SPI_0 - config SPI_1 def_bool n -if SPI_1 - -config SPI_1_NAME - default "SPI_1" -config SPI_1_IRQ_PRI - default 2 -config SPI_1_CS_GPIO_PORT - default "GPIO_0" -config SPI_1_CS_GPIO_PIN - default 2 - -endif # SPI_1 - endif # SPI_INTEL endif # SPI diff --git a/soc/x86/intel_quark/quark_x1000/soc.h b/soc/x86/intel_quark/quark_x1000/soc.h index e2c964242d4..1591d236ffa 100644 --- a/soc/x86/intel_quark/quark_x1000/soc.h +++ b/soc/x86/intel_quark/quark_x1000/soc.h @@ -49,19 +49,14 @@ #define SPI_INTEL_DEVICE_ID 0x935 #define SPI_INTEL_CLASS 0x0C -#define SPI_INTEL_PORT_0_REGS 0x90009000 -#define SPI_INTEL_PORT_0_IRQ 16 #define SPI_INTEL_PORT_0_BUS 0 #define SPI_INTEL_PORT_0_DEV 21 #define SPI_INTEL_PORT_0_FUNCTION 0 -#define SPI_INTEL_PORT_1_REGS 0x90008000 -#define SPI_INTEL_PORT_1_IRQ 17 #define SPI_INTEL_PORT_1_BUS 0 #define SPI_INTEL_PORT_1_DEV 21 #define SPI_INTEL_PORT_1_FUNCTION 1 -#define SPI_INTEL_IRQ_FLAGS (IOAPIC_EDGE | IOAPIC_HIGH) /* * GPIO */