diff options
author | Peter Rosin <peda@axentia.se> | 2018-12-20 19:13:08 +0100 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-12-20 19:13:08 +0100 |
commit | 3d8b1933eb1c3c94ef8667996dbff6994d5d552f (patch) | |
tree | 35aad5fe47bbbde62423e8e15ef71ce97ba00b32 /drivers/video/logo | |
parent | e41f184d83a3a1e12abbf00a829d9de579d6b0fe (diff) |
fbdev: fbmem: add config option to center the bootup logo
If there are extra logos (CONFIG_FB_LOGO_EXTRA) the heights of these
extra logos are not considered when centering the first logo vertically.
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/video/logo')
-rw-r--r-- | drivers/video/logo/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/video/logo/Kconfig b/drivers/video/logo/Kconfig index d1f6196c8b9a..1e972c4e88b1 100644 --- a/drivers/video/logo/Kconfig +++ b/drivers/video/logo/Kconfig @@ -10,6 +10,15 @@ menuconfig LOGO if LOGO +config FB_LOGO_CENTER + bool "Center the logo" + depends on FB=y + help + When this option is selected, the bootup logo is centered both + horizontally and vertically. If more than one logo is displayed + due to multiple CPUs, the collected line of logos is centered + as a whole. + config FB_LOGO_EXTRA bool depends on FB=y |