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:
1 parent
918e08f85d
commit
f6d2577d4b
5 files changed
+23
-8
No files matched your search
@@ -60,6 +60,8 @@ menu "Building options"
|
||||
Path to the ramdisk, which is going to get embedded to uniLoader
|
||||
endmenu
|
||||
|
||||
source "drivers/Kconfig"
|
||||
|
||||
source "lib/Kconfig"
|
||||
|
||||
source "soc/Kconfig"
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
CONFIG_POSITION_INDEPENDENT=y
|
||||
CONFIG_EXYNOS_8895=y
|
||||
CONFIG_EXYNOS_SPEEDY=y
|
||||
CONFIG_SAMSUNG_DREAMLTE=y
|
||||
CONFIG_TEXT_BASE=0x87000000
|
||||
CONFIG_PAYLOAD_ENTRY=0x90000000
|
||||
|
||||
@@ -1,10 +1,7 @@
|
||||
CONFIG_POSITION_INDEPENDENT=y
|
||||
CONFIG_EXYNOS_2200=y
|
||||
CONFIG_EXYNOS_ACPM=y
|
||||
CONFIG_SAMSUNG_G0S=y
|
||||
CONFIG_TEXT_BASE=0x87000000
|
||||
CONFIG_PAYLOAD_ENTRY=0x90000000
|
||||
CONFIG_RAMDISK_ENTRY=0x84000000
|
||||
CONFIG_FRAMEBUFFER_BASE=0xf6200000
|
||||
CONFIG_FRAMEBUFFER_WIDTH=1080
|
||||
CONFIG_FRAMEBUFFER_HEIGHT=2340
|
||||
CONFIG_FRAMEBUFFER_STRIDE=4
|
||||
CONFIG_RAMDISK_ENTRY=0x84000000
|
||||
@@ -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
@@ -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
|
||||
Reference in new issue
Block a user