Enable CONFIG_I2C only if needed (e.g. for OLED or EEPROM)
This commit is contained in:
@@ -314,6 +314,7 @@ endmenu # Charge controller setup
|
||||
menu "UEXT port"
|
||||
|
||||
config EXT_OLED_DISPLAY
|
||||
select I2C
|
||||
bool "OLED display"
|
||||
|
||||
config EXT_OLED_BRIGHTNESS
|
||||
|
||||
@@ -21,7 +21,6 @@ CONFIG_HWINFO=y
|
||||
|
||||
CONFIG_GPIO=y
|
||||
CONFIG_SERIAL=y
|
||||
CONFIG_I2C=y
|
||||
|
||||
CONFIG_CONSOLE_SUBSYS=y
|
||||
CONFIG_CONSOLE_GETCHAR=y
|
||||
|
||||
Reference in New Issue
Block a user