From 8704792c452753f8f6a0cc500adb2196c5e8ac18 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Tue, 15 Dec 2015 12:55:51 -0500 Subject: [PATCH] grove_lcd: this display is not a feature of the board The LCD display is an add-on, not a feature of the platform or the board. Set the defaults and remove the definition from Galileo Kconfig. Change-Id: Ic319cd765d2dc1fe08cc65615680821fe9bc6a83 Signed-off-by: Anas Nashif --- arch/x86/platforms/galileo/Kconfig | 4 ---- drivers/grove/Kconfig | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/x86/platforms/galileo/Kconfig b/arch/x86/platforms/galileo/Kconfig index d442608b8b0..da5f4544720 100644 --- a/arch/x86/platforms/galileo/Kconfig +++ b/arch/x86/platforms/galileo/Kconfig @@ -444,10 +444,6 @@ config GPIO_PCAL9535A_INIT_PRIORITY config PWM_PCA9685_INIT_PRIORITY default 70 -# Grove RGB LCD uses I2C, thus initialized after it -config GROVE_LCD_RGB_INIT_PRIORITY - default 70 - # Pin multiplexer uses PCAL9535A, needs to be initialized after it config PINMUX_INIT_PRIORITY default 80 diff --git a/drivers/grove/Kconfig b/drivers/grove/Kconfig index b4b9a5837c8..5cfa9ed2bb5 100644 --- a/drivers/grove/Kconfig +++ b/drivers/grove/Kconfig @@ -50,6 +50,7 @@ config GROVE_LCD_RGB_I2C_MASTER_DEV_NAME config GROVE_LCD_RGB_INIT_PRIORITY int prompt "Init priority" + default 70 depends on GROVE_LCD_RGB help Device driver initialization priority.