coreboot/src
Angel Pons 4c333a6b46 soc/intel/**/fast_spi.c: Reorganize some statements
Avoid calling `acpi_device_scope()` and `fast_spi_acpi_hid()` if the
result won't be used. Also, reorder a condition so that compile-time
constants appear first, so as to help the compiler optimize it out.

Change-Id: I42ce55c2978ad9c593c359c5decd5842fb3a97a1
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69168
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
2024-04-11 18:17:33 +00:00
..
acpi acpi: Add acpigen_write_OSC_pci_domain 2024-04-01 08:06:46 +00:00
arch tree: Drop unused <console/console.h> 2024-04-09 22:22:44 +00:00
commonlib tree: Drop unused <string.h> 2024-04-11 11:13:18 +00:00
console arch to cpu: Add SPDX license headers to Kconfig files 2024-02-18 01:58:52 +00:00
cpu smmstorev2: Load the communication buffer at SMM setup 2024-04-05 07:10:17 +00:00
device device/pnp_device: fix log levels for unassigned resource messages 2024-02-29 21:40:49 +00:00
drivers tree: Drop unused <string.h> 2024-04-11 11:13:18 +00:00
ec tree: Drop unused <delay.h> 2024-04-09 22:23:16 +00:00
include lib: Refactor bmp_load_logo() implementation 2024-04-06 04:31:50 +00:00
lib lib/thread.c: Move 'asmlinkage' before type 'void' 2024-04-10 06:05:55 +00:00
mainboard mb/google/nissa/var/craaskov: Disable external fivr 2024-04-11 12:16:39 +00:00
northbridge tree: Drop unused <string.h> 2024-04-11 11:13:18 +00:00
sbom src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00
security security/vboot: extract secdata_tpm{1,2}.c 2024-03-28 15:20:11 +00:00
soc soc/intel/**/fast_spi.c: Reorganize some statements 2024-04-11 18:17:33 +00:00
southbridge tree: Drop unused <elog.h> 2024-04-10 05:59:00 +00:00
superio superio/ite: Add full-speed config option 2024-03-30 13:00:01 +00:00
vendorcode Makefile.mk: Also add -libs to bootblock when !SEPARATE_ROMSTAGE 2024-04-04 10:41:39 +00:00
Kconfig Kconfig: Make GBD_STUB and long mode mutually exclusive 2024-04-01 13:40:37 +00:00