drivers: Add driver selection menu

This avoids building Exynos drivers for all platforms

Signed-off-by: BotchedRPR <igor.belwon@mentallysanemainliners.org>
This commit is contained in:
BotchedRPR authored and Ивайло Иванов committed 2025-11-03 21:30:37 +02:00
1 parent 918e08f85d
commit f6d2577d4b
5 files changed
+23 -8

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
menu "Drivers"
config EXYNOS_ACPM
bool "Support for Samsung Exynos ACPM block"
default n
help
Say Y if you have a device with the Samsung Exynos ACPM block.
config EXYNOS_SPEEDY
bool "Support for Samsung Exynos SPEEDY bus"
default n
help
Say Y if you have a device with the Samsung Exynos SPEEDY bus.
endmenu
+3 -3
View File
@@ -1,5 +1,5 @@
# the drivers registration framework
lib-y += framework.o
lib-y += ramdisk-handler.o
lib-y += samsung/exynos-speedy.o
lib-y += samsung/exynos-acpm.o
lib-$(CONFIG_LIBFDT) += ramdisk-handler.o
lib-$(CONFIG_EXYNOS_ACPM) += samsung/exynos-acpm.o
lib-$(CONFIG_EXYNOS_SPEEDY) += samsung/exynos-speedy.o