diff options
| author | Tom Rini <[email protected]> | 2023-01-10 11:19:28 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-01-20 12:27:06 -0500 |
| commit | a3fda0d30afa5e931520006351752cfb9c0103dd (patch) | |
| tree | fd6901713763ad44a013fc514e3f02f3fa8b6411 /drivers/video | |
| parent | 8bd3c0a7e17ee17c771cabc0e548a1a436ac021d (diff) | |
global: Remove unused CONFIG defines
Remove some CONFIG symbols and related comments, etc, that are unused
within the code itself at this point.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'drivers/video')
| -rw-r--r-- | drivers/video/vidconsole-uclass.c | 5 | ||||
| -rw-r--r-- | drivers/video/videomodes.c | 3 | ||||
| -rw-r--r-- | drivers/video/videomodes.h | 4 |
3 files changed, 1 insertions, 11 deletions
diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c index aadd54bfd4f..72a13d30527 100644 --- a/drivers/video/vidconsole-uclass.c +++ b/drivers/video/vidconsole-uclass.c @@ -19,11 +19,6 @@ #include <video_font.h> /* Bitmap font for code page 437 */ #include <linux/ctype.h> -/* By default we scroll by a single line */ -#ifndef CONFIG_CONSOLE_SCROLL_LINES -#define CONFIG_CONSOLE_SCROLL_LINES 1 -#endif - int vidconsole_putc_xy(struct udevice *dev, uint x, uint y, char ch) { struct vidconsole_ops *ops = vidconsole_get_ops(dev); diff --git a/drivers/video/videomodes.c b/drivers/video/videomodes.c index 69ef736d4c1..35955a5df7d 100644 --- a/drivers/video/videomodes.c +++ b/drivers/video/videomodes.c @@ -7,8 +7,7 @@ /************************************************************************ Get Parameters for the video mode: - The default video mode can be defined in CONFIG_SYS_DEFAULT_VIDEO_MODE. - If undefined, default video mode is set to 0x301 + The default video mode is set to 0x301 Parameters can be set via the variable "videomode" in the environment. 2 diferent ways are possible: "videomode=301" - 301 is a hexadecimal number describing the VESA diff --git a/drivers/video/videomodes.h b/drivers/video/videomodes.h index aefe4ef94ab..405f4e1fc2c 100644 --- a/drivers/video/videomodes.h +++ b/drivers/video/videomodes.h @@ -6,10 +6,6 @@ #include <edid.h> -#ifndef CONFIG_SYS_DEFAULT_VIDEO_MODE -#define CONFIG_SYS_DEFAULT_VIDEO_MODE 0x301 -#endif - /* Some mode definitions */ #define FB_SYNC_HOR_HIGH_ACT 1 /* horizontal sync high active */ #define FB_SYNC_VERT_HIGH_ACT 2 /* vertical sync high active */ |
