Convert CONFIG_CONSOLE_SCROLL_LINES to Kconfig
This converts the following to Kconfig: CONFIG_CONSOLE_SCROLL_LINES Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
5ecf8c6618
commit
b87ca80b9b
6
README
6
README
@ -1693,12 +1693,6 @@ CBFS (Coreboot Filesystem) support
|
||||
here, since it is cheaper to change data cache settings on
|
||||
a per-section basis.
|
||||
|
||||
CONFIG_CONSOLE_SCROLL_LINES
|
||||
|
||||
When the console need to be scrolled, this is the number of
|
||||
lines to scroll by. It defaults to 1. Increasing this makes
|
||||
the console jump but can help speed up operation when scrolling
|
||||
is slow.
|
||||
|
||||
CONFIG_LCD_ROTATION
|
||||
|
||||
|
@ -58,4 +58,5 @@ CONFIG_VIDEO_VESA=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_11A=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
|
@ -76,6 +76,7 @@ CONFIG_SYSRESET=y
|
||||
CONFIG_DM_VIDEO=y
|
||||
CONFIG_DISPLAY=y
|
||||
CONFIG_VIDEO_ROCKCHIP=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_USE_TINY_PRINTF=y
|
||||
CONFIG_CMD_DHRYSTONE=y
|
||||
CONFIG_ERRNO_STR=y
|
||||
|
@ -62,5 +62,6 @@ CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_11A=y
|
||||
CONFIG_VIDEO_IVYBRIDGE_IGD=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
CONFIG_TPM=y
|
||||
|
@ -59,5 +59,6 @@ CONFIG_DM_VIDEO=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_11A=y
|
||||
CONFIG_VIDEO_BROADWELL_IGD=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
CONFIG_TPM=y
|
||||
|
@ -53,5 +53,6 @@ CONFIG_VIDEO_VESA=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_11A=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
CONFIG_TPM=y
|
||||
|
@ -54,3 +54,4 @@ CONFIG_G_DNL_VENDOR_NUM=0x0955
|
||||
CONFIG_G_DNL_PRODUCT_NUM=0x701a
|
||||
CONFIG_DM_VIDEO=y
|
||||
CONFIG_VIDEO_TEGRA20=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
|
@ -66,4 +66,5 @@ CONFIG_VIDEO_VESA=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_114=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
|
@ -65,4 +65,5 @@ CONFIG_VIDEO_VESA=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_114=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
|
@ -42,5 +42,6 @@ CONFIG_DM_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_DM_VIDEO=y
|
||||
CONFIG_VIDEO_COREBOOT=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
CONFIG_TPM=y
|
||||
|
@ -51,4 +51,5 @@ CONFIG_DM_VIDEO=y
|
||||
CONFIG_VIDEO_VESA=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
|
@ -63,4 +63,5 @@ CONFIG_VIDEO_VESA=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_114=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
|
@ -66,6 +66,7 @@ CONFIG_SYSRESET=y
|
||||
CONFIG_DM_VIDEO=y
|
||||
CONFIG_DISPLAY=y
|
||||
CONFIG_VIDEO_ROCKCHIP=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_USE_TINY_PRINTF=y
|
||||
CONFIG_CMD_DHRYSTONE=y
|
||||
CONFIG_ERRNO_STR=y
|
||||
|
@ -41,3 +41,4 @@ CONFIG_USB_ULPI=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_DM_VIDEO=y
|
||||
CONFIG_VIDEO_TEGRA20=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
|
@ -62,4 +62,5 @@ CONFIG_VIDEO_VESA=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_11A=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
|
@ -39,3 +39,4 @@ CONFIG_DM_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_DM_VIDEO=y
|
||||
CONFIG_VIDEO_TEGRA20=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
|
@ -49,4 +49,5 @@ CONFIG_VIDEO_VESA=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_111=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
|
@ -46,6 +46,7 @@ CONFIG_VIDEO_VESA=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_111=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
CONFIG_EFI=y
|
||||
CONFIG_EFI_STUB=y
|
||||
|
@ -46,6 +46,7 @@ CONFIG_VIDEO_VESA=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_111=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
CONFIG_EFI=y
|
||||
CONFIG_EFI_STUB=y
|
||||
|
@ -64,6 +64,7 @@ CONFIG_SYSRESET=y
|
||||
CONFIG_DM_VIDEO=y
|
||||
CONFIG_DISPLAY=y
|
||||
CONFIG_VIDEO_ROCKCHIP=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_USE_TINY_PRINTF=y
|
||||
CONFIG_CMD_DHRYSTONE=y
|
||||
CONFIG_ERRNO_STR=y
|
||||
|
@ -22,6 +22,7 @@ CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_LCD=y
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
@ -24,6 +24,7 @@ CONFIG_CMD_FS_GENERIC=y
|
||||
# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_LCD=y
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
@ -23,6 +23,7 @@ CONFIG_CMD_FS_GENERIC=y
|
||||
# CONFIG_REQUIRE_SERIAL_CONSOLE is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_LCD=y
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
@ -22,6 +22,7 @@ CONFIG_CMD_FAT=y
|
||||
CONFIG_CMD_FS_GENERIC=y
|
||||
CONFIG_USB=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
CONFIG_LCD=y
|
||||
CONFIG_PHYS_TO_BUS=y
|
||||
CONFIG_OF_LIBFDT=y
|
||||
|
@ -42,3 +42,4 @@ CONFIG_USB_ULPI=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_DM_VIDEO=y
|
||||
CONFIG_VIDEO_TEGRA20=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
|
@ -60,4 +60,5 @@ CONFIG_VIDEO_VESA=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_11A=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
|
@ -60,4 +60,5 @@ CONFIG_VIDEO_VESA=y
|
||||
CONFIG_FRAMEBUFFER_SET_VESA_MODE=y
|
||||
CONFIG_FRAMEBUFFER_VESA_MODE_114=y
|
||||
CONFIG_CFB_CONSOLE=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=5
|
||||
CONFIG_USE_PRIVATE_LIBGCC=y
|
||||
|
@ -41,3 +41,4 @@ CONFIG_USB_ULPI=y
|
||||
CONFIG_USB_STORAGE=y
|
||||
CONFIG_DM_VIDEO=y
|
||||
CONFIG_VIDEO_TEGRA20=y
|
||||
CONFIG_CONSOLE_SCROLL_LINES=10
|
||||
|
@ -523,6 +523,16 @@ config CONSOLE_EXTRA_INFO
|
||||
each line of the display. The function should return the string,
|
||||
which can be empty if there is nothing to display for that line.
|
||||
|
||||
config CONSOLE_SCROLL_LINES
|
||||
int "Number of lines to scroll the console by"
|
||||
depends on CFB_CONSOLE || DM_VIDEO || LCD
|
||||
default 1
|
||||
help
|
||||
When the console need to be scrolled, this is the number of
|
||||
lines to scroll by. It defaults to 1. Increasing this makes the
|
||||
console jump but can help speed up operation when scrolling
|
||||
is slow.
|
||||
|
||||
config VIDEO_CT69000
|
||||
bool "Enable Chips & Technologies 69000 video driver"
|
||||
depends on VIDEO
|
||||
|
@ -23,6 +23,5 @@
|
||||
#define CONFIG_KEYBOARD
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
#endif
|
||||
|
@ -67,7 +67,6 @@
|
||||
#define CONFIG_PXA_LCD
|
||||
#define CONFIG_PXA_VGA
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
#define CONFIG_CMD_BMP
|
||||
#define CONFIG_LCD_LOGO
|
||||
#endif
|
||||
|
@ -47,7 +47,6 @@
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
#define CONFIG_CMD_BMP
|
||||
#define CONFIG_LCD_LOGO
|
||||
|
||||
|
@ -19,6 +19,5 @@
|
||||
#define CONFIG_ENV_OFFSET (96 * 1024)
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
#endif
|
||||
|
@ -21,6 +21,5 @@
|
||||
#define SDRAM_BANK_SIZE (2UL << 30)
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
#endif
|
||||
|
@ -19,6 +19,5 @@
|
||||
#define CONFIG_ENV_OFFSET (96 * 1024)
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
#endif
|
||||
|
@ -23,6 +23,5 @@
|
||||
#define CONFIG_ENV_OFFSET (96 * 1024)
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
#endif
|
||||
|
@ -54,7 +54,6 @@
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
|
@ -24,6 +24,5 @@
|
||||
#define CONFIG_ENV_OFFSET (96 * 1024)
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
#endif
|
||||
|
@ -45,7 +45,6 @@
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
|
@ -19,6 +19,5 @@
|
||||
#define CONFIG_ENV_OFFSET (96 * 1024)
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
#endif
|
||||
|
@ -32,6 +32,5 @@
|
||||
#endif
|
||||
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
#endif
|
||||
|
@ -81,7 +81,6 @@
|
||||
#define CONFIG_FB_ADDR 0
|
||||
#define CONFIG_VIDEO_BCM2835
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
/* SD/MMC configuration */
|
||||
#define CONFIG_GENERIC_MMC
|
||||
|
@ -61,7 +61,6 @@
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
/* NAND support */
|
||||
#define CONFIG_CMD_NAND
|
||||
|
@ -46,7 +46,6 @@
|
||||
|
||||
/* LCD support */
|
||||
#define CONFIG_SYS_WHITE_ON_BLACK
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 10
|
||||
|
||||
#include "tegra-common-post.h"
|
||||
|
||||
|
@ -125,11 +125,6 @@
|
||||
#define CONFIG_SYS_MEMTEST_END 0x01000000
|
||||
#define CONFIG_SYS_LOAD_ADDR 0x20000000
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
* Video Configuration
|
||||
*/
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 5
|
||||
|
||||
/*-----------------------------------------------------------------------
|
||||
* CPU Features
|
||||
*/
|
||||
|
@ -5,9 +5,6 @@
|
||||
*/
|
||||
|
||||
/* By default we scroll by a single line */
|
||||
#ifndef CONFIG_CONSOLE_SCROLL_LINES
|
||||
#define CONFIG_CONSOLE_SCROLL_LINES 1
|
||||
#endif
|
||||
|
||||
struct console_t {
|
||||
short curr_col, curr_row;
|
||||
|
@ -671,7 +671,6 @@ CONFIG_COMMON_ENV_SETTINGS
|
||||
CONFIG_COMMON_ENV_UBI
|
||||
CONFIG_COMPACT_FLASH
|
||||
CONFIG_COMPAT
|
||||
CONFIG_CONSOLE_SCROLL_LINES
|
||||
CONFIG_CONS_EXTC_PINSEL
|
||||
CONFIG_CONS_EXTC_RATE
|
||||
CONFIG_CONS_NONE
|
||||
|
Loading…
Reference in New Issue
Block a user