From 0b11dbf705ee294ac5a9fe1aeda7b7f5537a8d72 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sun, 26 Jul 2015 02:46:26 +0900 Subject: drivers: hierarchize drivers Kconfig menu The menuconfig for drivers are getting more and more cluttered and unreadable because too many entries are displayed in a single flat menu. Use hierarchic menu for each category. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Glass [trini: Update to apply again in a few places, drop USB hunk] Signed-off-by: Tom Rini --- drivers/i2c/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'drivers/i2c/Kconfig') diff --git a/drivers/i2c/Kconfig b/drivers/i2c/Kconfig index 9a62ddd..c40bd5c 100644 --- a/drivers/i2c/Kconfig +++ b/drivers/i2c/Kconfig @@ -1,3 +1,9 @@ +# +# I2C subsystem configuration +# + +menu "I2C support" + config DM_I2C bool "Enable Driver Model for I2C drivers" depends on DM @@ -99,3 +105,5 @@ config SYS_I2C_UNIPHIER_F This I2C controller is used on PH1-Pro4 or newer UniPhier SoCs. source "drivers/i2c/muxes/Kconfig" + +endmenu -- cgit v1.1