From d4c7f04a41743cea62d6f88d6d55fbacf117011c Mon Sep 17 00:00:00 2001 From: Carlo Caione Date: Fri, 30 Dec 2022 10:06:29 +0100 Subject: [PATCH] cache: kconfig: Reorder and fix entries The general Kconfig is at the moment a bit messy. Reorder and fix it. Signed-off-by: Carlo Caione --- drivers/cache/Kconfig | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/cache/Kconfig b/drivers/cache/Kconfig index 6370eea6170b29..f017d9068e3aa4 100644 --- a/drivers/cache/Kconfig +++ b/drivers/cache/Kconfig @@ -3,18 +3,21 @@ menuconfig CACHE bool "External cache controllers drivers" + default y if CACHE_MANAGEMENT help Enable support for external cache controllers drivers if CACHE +config CACHE_HAS_DRIVER + bool + module = CACHE module-str = cache source "subsys/logging/Kconfig.template.log_config" -config CACHE_HAS_DRIVER - bool - -endif # CACHE +comment "Device Drivers" source "drivers/cache/Kconfig.aspeed" + +endif # CACHE