Convert CONFIG_LCD_INFO et al to Kconfig
authorTom Rini <trini@konsulko.com>
Fri, 18 Mar 2022 12:38:29 +0000 (08:38 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 25 Mar 2022 12:01:15 +0000 (12:01 +0000)
This converts the following to Kconfig:
   CONFIG_LCD_INFO
   CONFIG_LCD_LOGO
   CONFIG_LCD_INFO_BELOW_LOGO
   CONFIG_LCD_IN_PSRAM

Cc: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Tom Rini <trini@konsulko.com>
13 files changed:
board/ronetix/pm9263/Kconfig
configs/pm9261_defconfig
configs/pm9263_defconfig
drivers/video/Kconfig
include/configs/at91sam9261ek.h
include/configs/at91sam9263ek.h
include/configs/at91sam9m10g45ek.h
include/configs/at91sam9n12ek.h
include/configs/at91sam9rlek.h
include/configs/colibri_pxa270.h
include/configs/colibri_t20.h
include/configs/pm9261.h
include/configs/pm9263.h

index 5b47d34..d6b8cac 100644 (file)
@@ -1,5 +1,8 @@
 if TARGET_PM9263
 
+config LCD_IN_PSRAM
+       def_bool y
+
 config SYS_BOARD
        default "pm9263"
 
index bda9917..8e5ebaa 100644 (file)
@@ -63,4 +63,6 @@ CONFIG_DM_VIDEO=y
 CONFIG_ATMEL_LCD=y
 CONFIG_ATMEL_LCD_BGR555=y
 CONFIG_LCD=y
+CONFIG_LCD_INFO=y
+CONFIG_LCD_LOGO=y
 CONFIG_REGEX=y
index c9a8552..2f8380d 100644 (file)
@@ -67,4 +67,6 @@ CONFIG_DM_VIDEO=y
 CONFIG_ATMEL_LCD=y
 CONFIG_ATMEL_LCD_BGR555=y
 CONFIG_LCD=y
+CONFIG_LCD_INFO=y
+CONFIG_LCD_LOGO=y
 CONFIG_JFFS2_NAND=y
index 82d4569..1bf7f4a 100644 (file)
@@ -828,6 +828,18 @@ config LCD
          CONFIG option. See the README for details. Drives which have been
          converted to driver model will instead used CONFIG_DM_VIDEO.
 
+config LCD_INFO
+       bool "Show LCD info on-screen"
+       depends on LCD
+
+config LCD_LOGO
+       bool "Show a logo on screen"
+       depends on LCD
+
+config LCD_INFO_BELOW_LOGO
+       bool "Show LCD info below the on-screen logo"
+       depends on LCD_INFO && LCD_LOGO
+
 config VIDEO_DW_HDMI
        bool
        help
index dcad025..4f43736 100644 (file)
 
 /* LCD */
 #define LCD_BPP                                LCD_COLOR8
-#define CONFIG_LCD_LOGO
 #undef LCD_TEST_PATTERN
-#define CONFIG_LCD_INFO
-#define CONFIG_LCD_INFO_BELOW_LOGO
 
 /* SDRAM */
 #define CONFIG_SYS_SDRAM_BASE          0x20000000
index 38ca1f8..b5ac6a4 100644 (file)
 
 /* LCD */
 #define LCD_BPP                                LCD_COLOR8
-#define CONFIG_LCD_LOGO                        1
 #undef LCD_TEST_PATTERN
-#define CONFIG_LCD_INFO                        1
-#define CONFIG_LCD_INFO_BELOW_LOGO     1
 
 /* SDRAM */
 #define CONFIG_SYS_SDRAM_BASE          ATMEL_BASE_CS1
index ffa090a..f24e7d6 100644 (file)
 
 /* LCD */
 #define LCD_BPP                                LCD_COLOR8
-#define CONFIG_LCD_LOGO
 #undef LCD_TEST_PATTERN
-#define CONFIG_LCD_INFO
-#define CONFIG_LCD_INFO_BELOW_LOGO
 
 /* SDRAM */
 #define CONFIG_SYS_SDRAM_BASE           0x70000000
index f02239c..cd7c271 100644 (file)
@@ -18,9 +18,6 @@
 /* LCD */
 #define LCD_BPP                                LCD_COLOR16
 #define LCD_OUTPUT_BPP                 24
-#define CONFIG_LCD_LOGO
-#define CONFIG_LCD_INFO
-#define CONFIG_LCD_INFO_BELOW_LOGO
 
 #define CONFIG_SYS_SDRAM_BASE          0x20000000
 #define CONFIG_SYS_SDRAM_SIZE          0x08000000
index 369b981..822df8e 100644 (file)
 
 /* LCD */
 #define LCD_BPP                                LCD_COLOR8
-#define CONFIG_LCD_LOGO                        1
 #undef LCD_TEST_PATTERN
-#define CONFIG_LCD_INFO                        1
-#define CONFIG_LCD_INFO_BELOW_LOGO     1
 /* Let board_init_f handle the framebuffer allocation */
 #undef CONFIG_FB_ADDR
 
index b34a5c9..17ff703 100644 (file)
@@ -38,7 +38,6 @@
 #ifdef CONFIG_LCD
 #define CONFIG_PXA_LCD
 #define CONFIG_PXA_VGA
-#define CONFIG_LCD_LOGO
 #endif
 
 /*
index c377187..c45016a 100644 (file)
@@ -15,9 +15,6 @@
 #define CONFIG_TEGRA_UARTA_SDIO1
 #define CONFIG_SYS_NS16550_COM1                NV_PA_APB_UARTA_BASE
 
-/* LCD support */
-#define CONFIG_LCD_LOGO
-
 /* NAND support */
 #define CONFIG_SYS_MAX_NAND_DEVICE     1
 
index fb801b3..056d874 100644 (file)
 
 /* LCD */
 #define LCD_BPP                                LCD_COLOR8
-#define CONFIG_LCD_LOGO                        1
 #undef LCD_TEST_PATTERN
-#define CONFIG_LCD_INFO                        1
-#define CONFIG_LCD_INFO_BELOW_LOGO     1
 
 /* SDRAM */
 #define PHYS_SDRAM                             0x20000000
index 52cc088..7b32e1b 100644 (file)
  */
 /* LCD */
 #define LCD_BPP                                LCD_COLOR8
-#define CONFIG_LCD_LOGO                        1
 #undef LCD_TEST_PATTERN
-#define CONFIG_LCD_INFO                        1
-#define CONFIG_LCD_INFO_BELOW_LOGO     1
-
-#define CONFIG_LCD_IN_PSRAM            1
 
 /* SDRAM */
 #define PHYS_SDRAM             0x20000000