coreboot/src/commonlib
Julius Werner bcced7caea commonlib/device_tree: Make END token part of struct_size
According to the FDT specification the FDT_END token is supposed to be
the last token in the structure block, not a free-floating token
immediately outside of it. That means we're supposed to count it in
struct_size. It seems that the kernel never cared about this, but some
FDT parsing utilities like `fdtgrep` do.

Change-Id: Icdeadbeefcafed00dbabefeed1337c0debc86836
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85462
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-12-04 22:23:39 +00:00
..
bsd commonlib/bsd/mem_chip_info: Add mem_chip_info_entry_density_bytes 2024-11-27 07:41:35 +00:00
include/commonlib drivers/efi/uefi_capsules.c: coalesce and store UEFI capsules 2024-08-30 15:48:25 +00:00
storage
device_tree.c commonlib/device_tree: Make END token part of struct_size 2024-12-04 22:23:39 +00:00
fsp_relocate.c commonlib/fsp_relocate: Add PE32+ support 2024-06-21 15:49:38 +00:00
iobuf.c
list.c
Makefile.mk treewide: Move device_tree to commonlib 2024-06-22 04:02:04 +00:00
mem_pool.c
rational.c
region.c region: Turn region_end() into an inclusive region_last() 2024-08-23 01:08:16 +00:00
sort.c