soc/intel/*/acpi.c: Don't copy structs with `memcpy()`
commit14643b33b0f7ea9cde6ce8230793562d4a1b475c
authorAngel Pons <th3fanbus@gmail.com>
Sun, 17 Oct 2021 11:21:05 +0000 (17 13:21 +0200)
committerFelix Held <felix-coreboot@felixheld.de>
Tue, 19 Oct 2021 14:57:17 +0000 (19 14:57 +0000)
tree437715af86a62e127f119200b2738d03d6779aab
parent3b9be63bd32daff1083f38b409beab71f2655b4f
soc/intel/*/acpi.c: Don't copy structs with `memcpy()`

A regular assignment works just as well and also allows type-checking.

Change-Id: Id772771f000ba3bad5d4af05f5651c0f0ee43d6d
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58390
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
src/soc/intel/alderlake/acpi.c
src/soc/intel/cannonlake/acpi.c
src/soc/intel/elkhartlake/acpi.c
src/soc/intel/icelake/acpi.c
src/soc/intel/jasperlake/acpi.c
src/soc/intel/tigerlake/acpi.c