coreboot/src
Ronald G Minnich 200f7b7ee1 arch/riscv: add Kconfig variable RISCV_SOC_HAS_MENVCFG
Older parts do not have the menvcfg csr.
Provide a Kconfig variable, default y, to enable it.
Check the variable in the payload code, when coreboot SBI
is used, and print out if it is enabled.

The SiFive FU540 and FU740 do not support this register;
set the variable to n for those parts.

Add constants for this new CSR.

Change-Id: I6ea302a5acd98f6941bf314da89dd003ab20b596
Signed-off-by: Ronald G Minnich <rminnich@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81425
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
2024-03-22 23:01:48 +00:00
..
acpi acpi/acpigen_pci_root_resource_producer: zero-pad ranges 2024-03-01 16:24:22 +00:00
arch arch/riscv: add Kconfig variable RISCV_SOC_HAS_MENVCFG 2024-03-22 23:01:48 +00:00
commonlib soc/intel/xeon_sp: Drop RMRR entry for USB 2024-03-19 10:59:08 +00:00
console arch to cpu: Add SPDX license headers to Kconfig files 2024-02-18 01:58:52 +00:00
cpu arch/x86: Fix typo for macro CPUID_FEATURE_HTT 2024-03-21 20:37:51 +00:00
device device/pnp_device: fix log levels for unassigned resource messages 2024-02-29 21:40:49 +00:00
drivers drivers/intel/dptf: Add DCFG support 2024-03-21 13:16:55 +00:00
ec ec/hp/kbc1126/acpi: Drop unnecessary _STA methods 2024-03-16 15:20:04 +00:00
include symbols: Add __maybe_unused flag to region variable symbols 2024-03-18 16:53:36 +00:00
lib treewide: Move stdlib.h to commonlib 2024-03-15 10:09:43 +00:00
mainboard vc/amd/opensil/genoa_poc/mpio: move PCIe port function below mpio chip 2024-03-22 21:49:41 +00:00
northbridge nb/haswell: Disable iGPU when dGPU is used 2024-03-04 15:22:21 +00:00
sbom src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00
security Kconfig: Make the SEPARATE_ROMSTAGE default configurable in other files 2024-02-27 20:35:11 +00:00
soc arch/riscv: add Kconfig variable RISCV_SOC_HAS_MENVCFG 2024-03-22 23:01:48 +00:00
southbridge util/amdfwtool: build amdfwtool only for all tools or AMD CPUs 2024-02-26 14:50:18 +00:00
superio superio/acpi: Add SUPERIO_PNP_NO_DIS to support always active LDNs 2024-03-01 15:37:48 +00:00
vendorcode vc/amd/opensil/genoa_poc/mpio: add debug output for unused chip 2024-03-22 21:56:12 +00:00
Kconfig src/Kconfig: Make it possible to override CCACHE in site-local 2024-03-17 16:37:54 +00:00