coreboot/src/soc/intel
Subrata Banik 4bcca66f2d soc/intel/pantherlake: Refactor FSP log level control
Refactor the FSP log level control by introducing a helper function
`fsp_set_debug_level()` to set the serial and MRC debug levels.

This change improves code readability and maintainability by separating
the log level setting logic from the main control flow. It also adds a
check to ensure the configured log levels are valid.

Change-Id: I6efd6a0ea006b4013dce1c8849b7dbbd4ea5e1dc
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85934
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Pranava Y N <pranavayn@google.com>
2025-01-14 07:39:45 +00:00
..
alderlake soc/inte/{adl,mtl}: Move ASPM helper functions to common 2025-01-02 14:58:33 +00:00
apollolake soc/intel: Assert if pmc_/gpe0_dwX values are not unique 2024-11-18 02:54:56 +00:00
baytrail soc/intel/adl to jsl: Explicitly include static.h for config_of_soc 2024-10-07 20:33:49 +00:00
braswell Treewide: Remove unused header files 2024-11-30 04:44:06 +00:00
broadwell soc/intel/broadwell; Use boolean for pch_is_wpt_xx 2024-10-23 23:41:26 +00:00
cannonlake soc/intel: Assert if pmc_/gpe0_dwX values are not unique 2024-11-18 02:54:56 +00:00
common soc/intel/common: Simply code accessing scaling factors 2025-01-13 17:26:27 +00:00
denverton_ns tree: Remove unused <assert.h> 2024-11-19 00:40:04 +00:00
elkhartlake soc/intel: Assert if pmc_/gpe0_dwX values are not unique 2024-11-18 02:54:56 +00:00
jasperlake soc/intel/jasperlake: Remove Cnvi Audio Offload bool 2025-01-02 14:59:08 +00:00
meteorlake soc/inte/{adl,mtl}: Move ASPM helper functions to common 2025-01-02 14:58:33 +00:00
pantherlake soc/intel/pantherlake: Refactor FSP log level control 2025-01-14 07:39:45 +00:00
skylake soc/intel: Assert if pmc_/gpe0_dwX values are not unique 2024-11-18 02:54:56 +00:00
snowridge soc/intel/common/block: Add const qualifier for input of pirq ops 2024-12-09 13:55:53 +00:00
tigerlake soc/intel: Assert if pmc_/gpe0_dwX values are not unique 2024-11-18 02:54:56 +00:00
xeon_sp soc/intel/xeon_sp: Allow OS to control LTR and AER 2025-01-11 09:37:00 +00:00
Makefile.mk soc/intel: Rename Makefiles from .inc to .mk 2024-01-24 10:02:22 +00:00