coreboot-kgpe-d16/src
Nicholas Sudsgaard bfb11bec3b include/device/device.h: Remove CHIP_NAME() macro
Macros can be confusing on their own; hiding commas make things worse.
This can sometimes be downright misleading. A "good" example would be
the code in soc/intel/xeon_sp/spr/chip.c:

CHIP_NAME("Intel SapphireRapids-SP").enable_dev = chip_enable_dev,

This appears as CHIP_NAME() being some struct when in fact these are
defining 2 separate members of the same struct.

It was decided to remove this macro altogether, as it does not do
anything special and incurs a maintenance burden.

Change-Id: Iaed6dfb144bddcf5c43634b0c955c19afce388f0
Signed-off-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80239
Reviewed-by: Yidi Lin <yidilin@google.com>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Reviewed-by: Jakub Czapiga <czapiga@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
2024-01-31 09:51:58 +00:00
..
acpi device: Add inline method to identify PATH_ROOT 2024-01-24 08:46:19 +00:00
arch device/device.h: Drop multiple links 2024-01-29 18:23:22 +00:00
commonlib acpi,arch,commonlib: Rename Makefiles from .inc to .mk 2024-01-24 08:32:11 +00:00
console lib,console,sbom: Rename Makefiles from .inc to .mk 2024-01-24 10:12:57 +00:00
cpu include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
device device/device.h: Drop multiple links 2024-01-29 18:23:22 +00:00
drivers include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
ec include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
include include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
lib malloc/memalign: Return NULL if the request is too large 2024-01-29 19:12:43 +00:00
mainboard include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
northbridge include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
sbom src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00
security security/intel: Use write{64,32,16,8}p and read{64,32,16,8}p 2024-01-30 12:27:29 +00:00
soc include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
southbridge include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
superio include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
vendorcode include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
Kconfig src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00