coreboot-kgpe-d16/src/soc/intel/icelake
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: Include gfx.asl from northbridge 2021-03-01 08:32:47 +00:00
bootblock soc/intel: Drop bootblock_cpu_init() function 2021-03-01 19:43:04 +00:00
include/soc soc/intel: Rename and move MISCCFG_GPIO_PM_CONFIG_BITS definition to soc/gpio.h 2021-03-27 04:23:12 +00:00
romstage soc/intel: Hook up SOC_INTEL_DISABLE_IGD to InternalGfx UPD 2021-04-08 06:47:02 +00:00
acpi.c ACPI: Add acpi_reset_gnvs_for_wake() 2021-02-16 09:28:42 +00:00
chip.c soc/intel: Replace open-coded buffer length calculation 2021-04-21 14:21:44 +00:00
chip.h soc/intel/{cannonlake,icelake}: Drop unhooked SendVrMbxCmd 2021-04-08 06:47:40 +00:00
cpu.c src: Remove unused <arch/cpu.h> 2021-02-11 10:25:23 +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
fsp_params.c
gpio.c
gspi.c
i2c.c
Kconfig soc/intel: Factor out common smmrelocate.c 2021-03-03 09:06:09 +00:00
lockdown.c
Makefile.inc soc/intel: Move pmc_soc_set_afterg3_en() to pmutil.c 2021-04-21 09:17:40 +00:00
me.c
p2sb.c
pmc.c soc/intel: Move pmc_soc_set_afterg3_en() to pmutil.c 2021-04-21 09:17:40 +00:00
pmutil.c soc/intel: Move pmc_soc_set_afterg3_en() to pmutil.c 2021-04-21 09:17:40 +00:00
reset.c
sd.c
smihandler.c soc/intel: Remove unused <console/console.h> 2021-02-15 10:50:09 +00:00
spi.c
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