summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorYao Zi <[email protected]>2025-06-02 10:15:15 +0000
committerTom Rini <[email protected]>2025-06-12 16:14:33 -0600
commit548d997229b7929bd7f0782415952d5a85eb7e64 (patch)
tree16a90c51a20b914f516a050bc27abdd53f49d5c7 /drivers
parent0805e4648686d5aa50b3990347b2b9f41dd42b3c (diff)
ram: Move Kconfig options into their own menu entry
RAM drivers using Device Model currently lack of their own Kconfig menu entry, which makes Kconfig put all options of the class in the top-level menu of device drivers. These options are also incorrectly grouped with pinctrl options in the generated .config, which is hard to read. Let's create a menu entry for these drivers. Fixes: 6c51df6859f ("dm: Add support for RAM drivers") Signed-off-by: Yao Zi <[email protected]> Reviewed-by: Quentin Schulz <[email protected]> Reviewed-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ram/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ram/Kconfig b/drivers/ram/Kconfig
index 39d03e8d3d3..edb8e254d5b 100644
--- a/drivers/ram/Kconfig
+++ b/drivers/ram/Kconfig
@@ -1,3 +1,5 @@
+menu "RAM drivers using Driver Model"
+
config RAM
bool "Enable RAM drivers using Driver Model"
depends on DM
@@ -136,3 +138,5 @@ source "drivers/ram/stm32mp1/Kconfig"
source "drivers/ram/starfive/Kconfig"
source "drivers/ram/sunxi/Kconfig"
source "drivers/ram/thead/Kconfig"
+
+endmenu