diff --git a/Kconfig b/Kconfig index ccb9bc9..94e1919 100644 --- a/Kconfig +++ b/Kconfig @@ -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" diff --git a/configs/dreamlte_defconfig b/configs/dreamlte_defconfig index ca5510b..83e2c08 100644 --- a/configs/dreamlte_defconfig +++ b/configs/dreamlte_defconfig @@ -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 diff --git a/configs/g0s_defconfig b/configs/g0s_defconfig index e7eafcb..30a81d9 100644 --- a/configs/g0s_defconfig +++ b/configs/g0s_defconfig @@ -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 \ No newline at end of file diff --git a/drivers/Kconfig b/drivers/Kconfig new file mode 100644 index 0000000..02f2aaa --- /dev/null +++ b/drivers/Kconfig @@ -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 diff --git a/drivers/Makefile b/drivers/Makefile index d51b9be..a1b425c 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -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