coreboot/src
Kapil Porwal e05492cfb4 soc/intel/pantherlake/romstage: Configure VGA mode 12 monochrome buffer
This commit implements support for the FSP_VGA_MODE12_MONOCHROME
Kconfig option within the Panther Lake romstage code.

By checking for the CONFIG_FSP_VGA_MODE12_MONOCHROME option, we
set the corresponding VGA_INIT_CONTROL_MODE12_MONOCHROME bit in
the FSP_M_CONFIG structure.

This ensures that when a 1-bit-per-pixel framebuffer is used, the
Intel FSP is correctly informed to replicate the data across the
remaining color planes for display, saving 75% of framebuffer memory
in romstage.

Key changes:
- Define the new VGA_INIT_CONTROL_MODE12_MONOCHROME control bit.
- Conditionally set this control bit in setup_vga_mode12_params()
when CONFIG_FSP_VGA_MODE12_MONOCHROME is enabled.

BUG=b:406725440
TEST=Verify VGA text rotation on Google/Felino.

Change-Id: I1dec24bb7ed44ca07babe0aa6886a50952d3faa2
Signed-off-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90073
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Jérémy Compostella <jeremy.compostella@intel.com>
2025-11-19 13:56:41 +00:00
..
acpi acpi: Move most of HEST ACPI table to common code 2025-09-30 23:52:09 +00:00
arch treewide: Fix include guards 2025-11-13 14:58:40 +00:00
commonlib lib/edid_fill_fb: Add dual pipe flag to lb_framebuffer_flags 2025-11-18 07:37:20 +00:00
console console: Fix flushing for slow consoles 2025-10-02 22:44:46 +00:00
cpu Makefile.mk: separate bootblocks into BOOTBLOCK and TOPSWAP 2025-11-16 18:35:27 +00:00
device device: Introduce reworked azalia verb table 2025-09-28 18:18:14 +00:00
drivers drivers/option/cfr.c: Replace memcpy() to avoid uninitialized object 2025-11-16 18:35:41 +00:00
ec ec/starlabs/merlin: Fix get_ec_value_from_option() value validation 2025-11-19 09:16:33 +00:00
include lib/edid_fill_fb: Add dual pipe flag to lb_framebuffer_flags 2025-11-18 07:37:20 +00:00
lib lib/edid_fill_fb: Add dual pipe flag to lb_framebuffer_flags 2025-11-18 07:37:20 +00:00
mainboard mb/google/bluey: Configure QUP0 SE5 as I2C 2025-11-19 13:55:57 +00:00
northbridge Haswell NRI: Print and fill in memory-related info 2025-10-29 16:52:51 +00:00
sbom sbom: Fix build with merged bootblock and romstage 2025-07-07 14:29:29 +00:00
security tree: Use boolean for s3resume 2025-10-23 13:34:15 +00:00
soc soc/intel/pantherlake/romstage: Configure VGA mode 12 monochrome buffer 2025-11-19 13:56:41 +00:00
southbridge tree: Use boolean for s3resume 2025-10-23 13:34:15 +00:00
superio sio/nuvoton/common/nuvoton.h: Add common Nuvoton SIO LDNs 2025-10-29 16:56:07 +00:00
vendorcode vc/intel/fsp: Update WCL FSP headers to 3344_03 2025-10-31 21:05:07 +00:00
Kconfig Kconfig: Introduce HAVE_CBFS_FILE_OPTION_BACKEND 2025-09-17 04:18:07 +00:00