diff options
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2021-11-15 16:32:17 +0100 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@foss.st.com> | 2021-11-30 16:43:28 +0100 |
commit | d71587c2ab5699ac07b6332e4b3245d90cd091f4 (patch) | |
tree | 6d17095879f0ecc5df168a05c71478e5b3dae631 /common | |
parent | b3c29dc9e5f0ed2bef4f20927a8c9bba4342a1cb (diff) | |
download | u-boot-d71587c2ab5699ac07b6332e4b3245d90cd091f4.tar.gz u-boot-d71587c2ab5699ac07b6332e4b3245d90cd091f4.tar.bz2 u-boot-d71587c2ab5699ac07b6332e4b3245d90cd091f4.zip |
Convert CONFIG_LCD_DT_SIMPLEFB to Kconfig
This converts the following to Kconfig:
CONFIG_LCD_DT_SIMPLEFB
This patch also renames this config to CONFIG_FDT_SIMPLEFB as the code in
common/lcd_simplefb.c support CONFIG_LCD and CONFIG_VIDEO.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/Kconfig | 9 | ||||
-rw-r--r-- | common/Makefile | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/common/Kconfig b/common/Kconfig index fede7e4021..176fda9449 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -776,3 +776,12 @@ config SPL_IMAGE_SIGN_INFO Enable image_sign_info helper functions in SPL. endif + +config FDT_SIMPLEFB + bool "FDT tools for simplefb support" + depends on OF_LIBFDT + help + Enable the fdt tools to manage the simple fb nodes in device tree. + These functions can be used by board to indicate to the OS + the presence of the simple frame buffer with associated reserved + memory diff --git a/common/Makefile b/common/Makefile index c500bcd7d8..fed7e482e6 100644 --- a/common/Makefile +++ b/common/Makefile @@ -40,7 +40,7 @@ ifndef CONFIG_DM_VIDEO obj-$(CONFIG_LCD) += lcd.o lcd_console.o endif obj-$(CONFIG_LCD_ROTATION) += lcd_console_rotation.o -obj-$(CONFIG_LCD_DT_SIMPLEFB) += lcd_simplefb.o +obj-$(CONFIG_FDT_SIMPLEFB) += lcd_simplefb.o obj-$(CONFIG_MENU) += menu.o obj-$(CONFIG_UPDATE_COMMON) += update.o obj-$(CONFIG_USB_KEYBOARD) += usb_kbd.o |