diff options
| author | Simon Glass <[email protected]> | 2021-11-19 13:24:06 -0700 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2021-12-26 23:33:26 +0100 |
| commit | e567122b3253156009aeb6eda1a3d82962877367 (patch) | |
| tree | 937684c447a7a7a8fb3cade4310bef799b0068c3 /include | |
| parent | d8bf49fa20bf1bf8b94e574a651e117da21a632c (diff) | |
x86: coreboot: Support getting a logo from virtio
Enable this feature so that a splash screen can be provided.
Signed-off-by: Simon Glass <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/configs/coreboot.h | 3 | ||||
| -rw-r--r-- | include/configs/x86-common.h | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 1cf5c037e85..d6d679fd7dd 100644 --- a/include/configs/coreboot.h +++ b/include/configs/coreboot.h @@ -10,6 +10,9 @@ #ifndef __CONFIG_H #define __CONFIG_H +#define SPLASH_SETTINGS "splashsource=virtio_fs\0" \ + "splashimage=0x1000000\0" + #include <configs/x86-common.h> #define CONFIG_SYS_MONITOR_LEN (1 << 20) diff --git a/include/configs/x86-common.h b/include/configs/x86-common.h index a03913d5e79..394978b9d90 100644 --- a/include/configs/x86-common.h +++ b/include/configs/x86-common.h @@ -81,9 +81,14 @@ #define DISTRO_BOOTENV #endif +#ifndef SPLASH_SETTINGS +#define SPLASH_SETTINGS +#endif + #define CONFIG_EXTRA_ENV_SETTINGS \ DISTRO_BOOTENV \ CONFIG_STD_DEVICES_SETTINGS \ + SPLASH_SETTINGS \ "pciconfighost=1\0" \ "netdev=eth0\0" \ "consoledev=ttyS0\0" \ |
