coreboot-kgpe-d16/src/soc/intel/tigerlake
Angel Pons 0c0d49229d soc/intel: Replace open-coded buffer length calculation
Use `sizeof(value)` instead of manually calculating the buffer size.

Change-Id: Ibe49e40b1c4f2c0b661d94e59059a95bdb204197
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52107
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
2021-04-21 14:21:44 +00:00
..
acpi soc/intel/tigerlake: Remove obsolete CNVi Bluetooth PCI device 2021-03-15 06:27:15 +00:00
bootblock soc/intel: Drop bootblock_cpu_init() function 2021-03-01 19:43:04 +00:00
include/soc soc/intel/tigerlake: Fix REG_BASE_SIZE 2021-03-28 16:04:44 +00:00
romstage soc/intel/alderlake: rename CONFIG_MAX_PCIE_CLOCKS to CONFIG_MAX_PCIE_CLOCK_SRC 2021-04-21 09:19:58 +00:00
spd util: Add DDR4 generic SPD for H4AAG165WB-BCWE 2021-03-22 11:26:40 +00:00
acpi.c soc/intel/tigerlake: Fix devices list in the DMAR DRHD structure 2021-04-21 09:16:08 +00:00
chip.c soc/intel: Replace open-coded buffer length calculation 2021-04-21 14:21:44 +00:00
chip.h soc/intel/alderlake: rename CONFIG_MAX_PCIE_CLOCKS to CONFIG_MAX_PCIE_CLOCK_SRC 2021-04-21 09:19:58 +00:00
chipset.cb soc/intel/tigerlake: Remove obsolete CNVi Bluetooth PCI device 2021-03-15 06:27:15 +00:00
cpu.c src: Remove unused <arch/cpu.h> 2021-02-11 10:25:23 +00:00
crashlog_lib.c soc/intel/tigerlake: Re-use existing define in CrashLog implementation 2021-03-03 09:02:16 +00:00
dptf.c dptf: Move platform-specific information to struct dptf_platform_info 2021-04-13 08:22:49 +00:00
elog.c ELOG: Add const qualifier for chipset_power_state 2021-01-23 20:18:11 +00:00
espi.c soc/intel/{skl,cnl,xsp,icl,tgl,ehl,adl,jsl}: use common LPC mirroring 2021-01-25 09:06:10 +00:00
finalize.c src: Include <arch/io.h> when appropriate 2020-10-26 06:44:40 +00:00
fsp_params.c intel/tigerlake: Add Acoustic features 2021-04-06 23:28:17 +00:00
gpio.c
gspi.c
i2c.c
Kconfig soc/intel/alderlake: rename CONFIG_MAX_PCIE_CLOCKS to CONFIG_MAX_PCIE_CLOCK_SRC 2021-04-21 09:19:58 +00:00
lockdown.c
Makefile.inc dptf: Move platform-specific information to struct dptf_platform_info 2021-04-13 08:22:49 +00:00
me.c
meminit.c soc/intel/tgl and tgl mb/google,intel: Use the newly added meminit block driver 2021-01-25 08:48:57 +00:00
p2sb.c
pmc.c soc/intel/tigerlake: Enable RTD3 driver and IPC mailbox 2020-11-20 00:24:53 +00:00
pmutil.c soc/intel/*/pmutil.c: Align cosmetics across platforms 2021-02-24 11:34:42 +00:00
reset.c soc/intel: Use of common reset code block 2020-11-02 10:43:53 +00:00
smihandler.c soc/intel: Remove unused <console/console.h> 2021-02-15 10:50:09 +00:00
soundwire.c
spi.c src/soc/intel/tigerlake: Add SPI DMI Destination ID 2020-12-08 22:57:45 +00:00
systemagent.c soc/intel: Replace SA_PCIEX_LENGTH Kconfig options 2021-01-30 23:14:08 +00:00
uart.c soc/intel/*: drop UART pad configuration from common code 2021-03-12 08:48:03 +00:00
xhci.c soc/intel/common: Adapt XHCI elog driver for reuse 2020-12-10 17:45:47 +00:00