mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 13:43:28 +00:00
Convert CONFIG_SYS_WHITE_ON_BLACK to Kconfig
This converts the following to Kconfig: CONFIG_SYS_WHITE_ON_BLACK Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Make this default y on various SoCs] Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
4893e34b00
commit
983b103f1c
52 changed files with 17 additions and 86 deletions
3
README
3
README
|
@ -1638,9 +1638,6 @@ The following options need to be configured:
|
|||
|
||||
320x240. Black & white.
|
||||
|
||||
Normally display is black on white background; define
|
||||
CONFIG_SYS_WHITE_ON_BLACK to get it inverted.
|
||||
|
||||
CONFIG_LCD_ALIGNMENT
|
||||
|
||||
Normally the LCD is page-aligned (typically 4KB). If this is
|
||||
|
|
|
@ -55,5 +55,6 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||
CONFIG_LCD=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
@ -55,5 +55,6 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||
CONFIG_LCD=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
@ -63,5 +63,6 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||
CONFIG_LCD=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
|
|
@ -55,6 +55,7 @@ CONFIG_SYS_NS16550=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_MUSB_HOST=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||
CONFIG_LCD=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
# CONFIG_EFI_LOADER is not set
|
||||
|
|
|
@ -19,6 +19,7 @@ CONFIG_MMC_SDHCI_BCM2835=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_LCD=y
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
|
|
|
@ -21,6 +21,7 @@ CONFIG_MMC_SDHCI_BCM2835=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_LCD=y
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
|
|
|
@ -21,6 +21,7 @@ CONFIG_MMC_SDHCI_BCM2835=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_LCD=y
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
|
|
|
@ -19,6 +19,7 @@ CONFIG_MMC_SDHCI_BCM2835=y
|
|||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_USB_KEYBOARD=y
|
||||
CONFIG_SYS_WHITE_ON_BLACK=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_LCD=y
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
|
|
|
@ -89,6 +89,15 @@ config CONSOLE_TRUETYPE_SIZE
|
|||
method to select the display's physical size, which would allow
|
||||
U-Boot to calculate the correct font size.
|
||||
|
||||
config SYS_WHITE_ON_BLACK
|
||||
bool "Display console as white on a black background"
|
||||
default y if ARCH_AT91 || ARCH_EXYNOS || ARCH_ROCKCHIP || TEGRA || X86
|
||||
help
|
||||
Normally the display is black on a white background, Enable this
|
||||
option to invert this, i.e. white on a black background. This can be
|
||||
better in low-light situations or to reduce eye strain in some
|
||||
cases.
|
||||
|
||||
source "drivers/video/fonts/Kconfig"
|
||||
|
||||
config VIDCONSOLE_AS_LCD
|
||||
|
|
|
@ -51,7 +51,6 @@
|
|||
#undef LCD_TEST_PATTERN
|
||||
#define CONFIG_LCD_INFO
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_ATMEL_LCD
|
||||
#ifdef CONFIG_AT91SAM9261EK
|
||||
#define CONFIG_ATMEL_LCD_BGR555
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
#undef LCD_TEST_PATTERN
|
||||
#define CONFIG_LCD_INFO 1
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO 1
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK 1
|
||||
#define CONFIG_ATMEL_LCD 1
|
||||
#define CONFIG_ATMEL_LCD_BGR555 1
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
#undef LCD_TEST_PATTERN
|
||||
#define CONFIG_LCD_INFO
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_ATMEL_LCD
|
||||
#define CONFIG_ATMEL_LCD_RGB565
|
||||
/* board specific(not enough SRAM) */
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
#define CONFIG_LCD_LOGO
|
||||
#define CONFIG_LCD_INFO
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_ATMEL_HLCD
|
||||
#define CONFIG_ATMEL_LCD_RGB565
|
||||
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
#undef LCD_TEST_PATTERN
|
||||
#define CONFIG_LCD_INFO 1
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO 1
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK 1
|
||||
#define CONFIG_ATMEL_LCD 1
|
||||
#define CONFIG_ATMEL_LCD_RGB565 1
|
||||
/* Let board_init_f handle the framebuffer allocation */
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
#define CONFIG_LCD_LOGO
|
||||
#define CONFIG_LCD_INFO
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_ATMEL_HLCD
|
||||
#define CONFIG_ATMEL_LCD_RGB565
|
||||
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
#define CONFIG_AM335X_LCD
|
||||
#define CONFIG_LCD_ROTATION
|
||||
#define CONFIG_LCD_DT_SIMPLEFB
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define LCD_BPP LCD_COLOR32
|
||||
|
||||
#define CONFIG_HW_WATCHDOG
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
/* ------------------------------------------------------------------------- */
|
||||
#define CONFIG_AM335X_LCD
|
||||
#define CONFIG_LCD_NOSTDOUT
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define LCD_BPP LCD_COLOR32
|
||||
|
||||
#define CONFIG_VIDEO_BMP_GZIP
|
||||
|
|
|
@ -65,7 +65,6 @@
|
|||
#ifdef CONFIG_LCD
|
||||
#define CONFIG_PXA_LCD
|
||||
#define CONFIG_PXA_VGA
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_LCD_LOGO
|
||||
#endif
|
||||
|
||||
|
|
|
@ -39,7 +39,6 @@
|
|||
#define CONFIG_TFTP_TSIZE
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_LCD_LOGO
|
||||
|
||||
/* NAND support */
|
||||
|
|
|
@ -13,6 +13,4 @@
|
|||
#define CONFIG_ENV_IS_IN_MMC
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
#define SDRAM_BANK_SIZE (2UL << 30)
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,6 +20,4 @@
|
|||
|
||||
#define SDRAM_BANK_SIZE (2UL << 30)
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#endif
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#define CONFIG_EXYNOS_FB
|
||||
#define CONFIG_EXYNOS_DP
|
||||
#define LCD_BPP LCD_COLOR16
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#endif
|
||||
|
||||
/* Enable keyboard */
|
||||
|
|
|
@ -13,6 +13,4 @@
|
|||
#define CONFIG_ENV_IS_IN_MMC
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#endif
|
||||
|
|
|
@ -17,6 +17,4 @@
|
|||
#define CONFIG_ENV_IS_IN_MMC
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#endif
|
||||
|
|
|
@ -45,11 +45,6 @@
|
|||
#define CONFIG_USB_ETHER_MCS7830
|
||||
#define CONFIG_USB_ETHER_SMSC95XX
|
||||
|
||||
/* General networking support */
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -36,11 +36,6 @@
|
|||
#define CONFIG_USB_HOST_ETHER
|
||||
#define CONFIG_USB_ETHER_SMSC95XX
|
||||
|
||||
/* General networking support */
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -17,6 +17,4 @@
|
|||
#define CONFIG_ENV_IS_IN_MMC
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#endif
|
||||
|
|
|
@ -30,9 +30,6 @@
|
|||
#define CONFIG_SYS_MMC_ENV_PART 2
|
||||
#define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
/* Align LCD to 1MB boundary */
|
||||
#define CONFIG_LCD_ALIGNMENT MMU_SECTION_SIZE
|
||||
|
||||
|
|
|
@ -36,11 +36,6 @@
|
|||
#define CONFIG_USB_HOST_ETHER
|
||||
#define CONFIG_USB_ETHER_ASIX
|
||||
|
||||
/* General networking support */
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
#undef LCD_TEST_PATTERN
|
||||
#define CONFIG_LCD_INFO
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_ATMEL_LCD
|
||||
#define CONFIG_ATMEL_LCD_RGB565
|
||||
/* board specific(not enough SRAM) */
|
||||
|
|
|
@ -152,7 +152,6 @@
|
|||
#undef LCD_TEST_PATTERN
|
||||
#define CONFIG_LCD_INFO 1
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO 1
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK 1
|
||||
#define CONFIG_ATMEL_LCD 1
|
||||
#define CONFIG_ATMEL_LCD_BGR555 1
|
||||
|
||||
|
|
|
@ -165,7 +165,6 @@
|
|||
#undef LCD_TEST_PATTERN
|
||||
#define CONFIG_LCD_INFO 1
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO 1
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK 1
|
||||
#define CONFIG_ATMEL_LCD 1
|
||||
#define CONFIG_ATMEL_LCD_BGR555 1
|
||||
|
||||
|
|
|
@ -13,6 +13,4 @@
|
|||
#define CONFIG_ENV_IS_IN_MMC
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#endif
|
||||
|
|
|
@ -22,6 +22,4 @@
|
|||
|
||||
#define SDRAM_BANK_SIZE (2UL << 30)
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#endif
|
||||
|
|
|
@ -17,6 +17,4 @@
|
|||
#define CONFIG_ENV_IS_IN_MMC
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#endif
|
||||
|
|
|
@ -76,7 +76,6 @@
|
|||
*/
|
||||
#define CONFIG_FB_ADDR 0
|
||||
#define CONFIG_VIDEO_BCM2835
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#ifdef CONFIG_CMD_USB
|
||||
#define CONFIG_USB_DWC2
|
||||
|
|
|
@ -190,7 +190,6 @@ int universal_spi_read(void);
|
|||
|
||||
/* LCD console */
|
||||
#define LCD_BPP LCD_COLOR16
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
/*
|
||||
* LCD Settings
|
||||
|
|
|
@ -61,7 +61,6 @@
|
|||
#define CONFIG_LCD_LOGO
|
||||
#define CONFIG_LCD_INFO
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_ATMEL_HLCD
|
||||
#define CONFIG_ATMEL_LCD_RGB565
|
||||
#endif
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#define CONFIG_LCD_LOGO
|
||||
#define CONFIG_LCD_INFO
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_ATMEL_HLCD
|
||||
#define CONFIG_ATMEL_LCD_RGB565
|
||||
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
#define CONFIG_LCD_LOGO
|
||||
#define CONFIG_LCD_INFO
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_ATMEL_HLCD
|
||||
#define CONFIG_ATMEL_LCD_RGB565
|
||||
#endif
|
||||
|
|
|
@ -53,7 +53,6 @@
|
|||
#define CONFIG_LCD_LOGO
|
||||
#define CONFIG_LCD_INFO
|
||||
#define CONFIG_LCD_INFO_BELOW_LOGO
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_ATMEL_HLCD
|
||||
#define CONFIG_ATMEL_LCD_RGB565
|
||||
|
||||
|
|
|
@ -44,17 +44,10 @@
|
|||
#define CONFIG_USB_HOST_ETHER
|
||||
#define CONFIG_USB_ETHER_ASIX
|
||||
|
||||
/* General networking support */
|
||||
|
||||
/* Enable keyboard */
|
||||
#define CONFIG_TEGRA_KEYBOARD
|
||||
#define CONFIG_KEYBOARD
|
||||
|
||||
/* USB keyboard */
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
/* NAND support */
|
||||
#define CONFIG_CMD_NAND
|
||||
#define CONFIG_TEGRA_NAND
|
||||
|
|
|
@ -36,11 +36,6 @@
|
|||
#define CONFIG_USB_HOST_ETHER
|
||||
#define CONFIG_USB_ETHER_SMSC95XX
|
||||
|
||||
/* General networking support */
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -21,6 +21,4 @@
|
|||
#define CONFIG_ENV_IS_IN_MMC
|
||||
#define CONFIG_SYS_MMC_ENV_DEV 1
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#endif
|
||||
|
|
|
@ -202,7 +202,6 @@
|
|||
|
||||
/* LCD console */
|
||||
#define LCD_BPP LCD_COLOR16
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
/* LCD */
|
||||
#define CONFIG_BMP_16BPP
|
||||
|
|
|
@ -183,7 +183,6 @@
|
|||
|
||||
/* LCD console */
|
||||
#define LCD_BPP LCD_COLOR16
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
/* LCD */
|
||||
#define CONFIG_BMP_16BPP
|
||||
|
|
|
@ -34,13 +34,6 @@
|
|||
#define CONFIG_USB_HOST_ETHER
|
||||
#define CONFIG_USB_ETHER_ASIX
|
||||
|
||||
/* General networking support */
|
||||
|
||||
/* USB keyboard */
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
#endif /* __CONFIG_H */
|
||||
|
|
|
@ -22,6 +22,4 @@
|
|||
|
||||
#define CONFIG_KEYBOARD
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#endif
|
||||
|
|
|
@ -46,8 +46,6 @@
|
|||
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
||||
#define CONFIG_ENV_OFFSET 0x003f8000
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
|
||||
#define CONFIG_STD_DEVICES_SETTINGS "stdin=usbkbd,i8042-kbd,serial\0" \
|
||||
"stdout=vidconsole,serial\0" \
|
||||
"stderr=vidconsole,serial\0"
|
||||
|
|
|
@ -6229,7 +6229,6 @@ CONFIG_SYS_WDTC_WDMR_VAL
|
|||
CONFIG_SYS_WDTTIMERBASE
|
||||
CONFIG_SYS_WDT_PERIOD_HIGH
|
||||
CONFIG_SYS_WDT_PERIOD_LOW
|
||||
CONFIG_SYS_WHITE_ON_BLACK
|
||||
CONFIG_SYS_WINDOW1_BASE
|
||||
CONFIG_SYS_WRITE_SWAPPED_DATA
|
||||
CONFIG_SYS_XHCI_USB1_ADDR
|
||||
|
|
Loading…
Reference in a new issue