From 6544cb3f1b431f96bb6d16f86e2cb4f75a4188b3 Mon Sep 17 00:00:00 2001 From: Konstantin Aladyshev Date: Sat, 24 Jan 2015 18:52:10 +0400 Subject: Separate bootsplash image menuconfig option from others The possibility of adding a bootsplash image to ROM should be independent from VGA_ROM_RUN and VESA menuconfig options. For example, the stored image could be saved in CBFS not for coreboot but for later use in SeaBIOS. Change-Id: I3a0ed53489c40d4d44bd4ebc358ae6667e6c797f Signed-off-by: Konstantin Aladyshev Reviewed-on: http://review.coreboot.org/12129 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/Kconfig | 17 +++++++++++++++++ src/device/Kconfig | 13 +++---------- 2 files changed, 20 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/Kconfig b/src/Kconfig index 368384dc92..3b7a249b51 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -325,6 +325,23 @@ config RAM_CODE_SUPPORT If enabled, coreboot discovers RAM configuration (value obtained by reading board straps) and stores it in coreboot table. +config BOOTSPLASH_IMAGE + bool "Add a bootsplash image" + help + Select this option if you have a bootsplash image that you would + like to add to your ROM. + + This will only add the image to the ROM. To actually run it check + options under 'Display' section. + +config BOOTSPLASH_FILE + string "Bootsplash path and filename" + depends on BOOTSPLASH_IMAGE + default "bootsplash.jpg" + help + The path and filename of the file to use as graphical bootsplash + screen. The file format has to be jpg. + endmenu source "src/acpi/Kconfig" diff --git a/src/device/Kconfig b/src/device/Kconfig index bcf7dad2a0..784b6d794c 100644 --- a/src/device/Kconfig +++ b/src/device/Kconfig @@ -556,15 +556,8 @@ config BOOTSPLASH This option shows a graphical bootsplash screen. The graphics are loaded from the CBFS file bootsplash.jpg. - You will be able to specify the location and file name of the - image later. - -config BOOTSPLASH_FILE - string "Bootsplash path and filename" - depends on BOOTSPLASH - default "bootsplash.jpg" - help - The path and filename of the file to use as graphical bootsplash - screen. The file format has to be jpg. + You can either specify the location and file name of the + image in the 'General' section or add it manually to CBFS, using, + for example, cbfstool. endmenu -- cgit v1.2.3