coreboot/src
Angel Pons 73e6318ec7 mb/prodrive/hermes: Simplify handling board cfg
The `get_board_settings()` function always returns non-NULL, so there is
no need for NULL checks. When only one member is accessed, also drop the
local variable and directly dereference the function's return value.

Change-Id: I4fc62ca2454f4da7c8ade506064a7b0e6ba48749
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/75140
Reviewed-by: Christian Walter <christian.walter@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Lean Sheng Tan <sheng.tan@9elements.com>
2023-05-12 16:19:41 +00:00
..
acpi acpi/acpigen: add acpigen_resource_io to generate I/O resource 2023-05-11 19:30:10 +00:00
arch arch/x86/car.ld: Fix undefined macro 2023-05-09 18:15:45 +00:00
commonlib {commonlib, soc/intel/cmn/cse}: Store CSE firmware version into CBMEM 2023-04-21 17:22:00 +00:00
console console: Deselect using ANSI escape characters when SimNow is used 2023-03-30 13:36:35 +00:00
cpu treewide: Add missing include guards to chip.h 2023-04-28 13:38:33 +00:00
device lib/version: Move board identification strings 2023-04-22 16:20:49 +00:00
drivers drivers/ocp/ewl: Add EWL driver for EWL type 3 error handling 2023-05-12 15:03:29 +00:00
ec ec/google/chromeec: Handle ACPI S4 in chromeec_smi_sleep() 2023-05-07 14:54:12 +00:00
include acpi/acpigen: add acpigen_resource_io to generate I/O resource 2023-05-11 19:30:10 +00:00
lib Convert literal uses of CONFIG_MAINBOARD_{VENDOR,PART_NUMBER} 2023-05-05 13:56:34 +00:00
mainboard mb/prodrive/hermes: Simplify handling board cfg 2023-05-12 16:19:41 +00:00
northbridge nb/amd/pi/00730f01/acpi/northbridge: don't hide PCI0 root device from OS 2023-05-08 13:03:22 +00:00
sbom payloads/Yabits: Remove deprecated Yabits Payload 2023-02-17 01:21:43 +00:00
security security/tpm: make usage of PCRs configurable via Kconfig 2023-04-10 04:01:08 +00:00
soc soc/intel/common: Define enum types for MKHI group IDs and ME SKUs 2023-05-12 09:22:23 +00:00
southbridge sb,soc/amd,intel: Sync FADT entries visually 2023-05-10 21:26:55 +00:00
superio treewide: Remove useless "_STA: Status" comment 2023-02-19 11:20:37 +00:00
vendorcode vc/intel/fsp/mtl: Update header files from 3084_85 to 3165_81 2023-05-11 10:51:19 +00:00
Kconfig Kconfig: Group dependency on X86EMU_DEBUG 2023-05-02 18:49:50 +00:00