intel_s1000: do not enable options in _defconfig

Application should be responsible for enabling various drivers and
features, we should not enable everything by default.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2018-11-12 09:24:28 -05:00
parent cdc4d534bf
commit c79dea567a
3 changed files with 61 additions and 23 deletions

View file

@ -92,4 +92,61 @@ endif # UART_NS16550_PORT_0
endif # UART_NS16550
if I2C
config I2C_DW
def_bool y
config I2C_0
def_bool y
endif
if DMA
config DMA_CAVS
def_bool y
config DCACHE_WRITEBACK
def_bool y
endif
if I2S
config I2S_CAVS
def_bool y
endif
if AUDIO
config AUDIO_CODEC
def_bool y
config AUDIO_TLV320DAC
def_bool y
config AUDIO_DMIC
def_bool y
config AUDIO_INTEL_DMIC
def_bool y
endif
if NEURAL_NET_ACCEL
config INTEL_GNA
def_bool y
endif
if GPIO
config GPIO_DW
def_bool y
config GPIO_DW_0
def_bool y
endif
endif # BOARD_INTEL_S1000_CRB

View file

@ -19,21 +19,6 @@ CONFIG_3RD_LEVEL_INTERRUPTS=y
CONFIG_CAVS_ICTL=y
CONFIG_DW_ICTL=y
CONFIG_GPIO=y
CONFIG_GPIO_DW=y
CONFIG_GPIO_DW_0=y
CONFIG_I2C=y
CONFIG_I2C_DW=y
CONFIG_I2C_0=y
CONFIG_DMA=y
CONFIG_DMA_CAVS=y
CONFIG_DCACHE_WRITEBACK=y
CONFIG_I2S=y
CONFIG_I2S_CAVS=y
CONFIG_USB=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_VID=0x8087
@ -48,11 +33,3 @@ CONFIG_SERIAL=y
CONFIG_UART_CONSOLE=y
CONFIG_UART_NS16550=y
CONFIG_AUDIO=y
CONFIG_AUDIO_CODEC=y
CONFIG_AUDIO_TLV320DAC=y
CONFIG_AUDIO_DMIC=y
CONFIG_AUDIO_INTEL_DMIC=y
CONFIG_NEURAL_NET_ACCEL=y
CONFIG_INTEL_GNA=y

View file

@ -5,3 +5,7 @@ CONFIG_USB_DEVICE_HID=y
CONFIG_LOG=y
CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
CONFIG_I2S=y
CONFIG_I2C=y
CONFIG_DMA=y