Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

RISC-V: ACPI: enable parsing the BGRT table

The BGRT table is used to display a vendor logo during the boot process.
Add the code for parsing it.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Link: https://lore.kernel.org/r/20250729131535.522205-2-heinrich.schuchardt@canonical.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>

authored by

Heinrich Schuchardt and committed by
Paul Walmsley
92c4995b 205cbc71

+3
+3
arch/riscv/kernel/acpi.c
··· 14 14 */ 15 15 16 16 #include <linux/acpi.h> 17 + #include <linux/efi-bgrt.h> 17 18 #include <linux/efi.h> 18 19 #include <linux/io.h> 19 20 #include <linux/memblock.h> ··· 161 160 early_init_dt_scan_chosen_stdout(); 162 161 } else { 163 162 acpi_parse_spcr(earlycon_acpi_spcr_enable, true); 163 + if (IS_ENABLED(CONFIG_ACPI_BGRT)) 164 + acpi_table_parse(ACPI_SIG_BGRT, acpi_parse_bgrt); 164 165 } 165 166 } 166 167