coreboot/tests
Maximilian Brune 33079b8174 lib/device_tree: Add some FDT helper functions
This adds some helper functions for FDT, since more and more mainboards
seem to need FDT nowadays. For example our QEMU boards need it in order
to know how much RAM is available. Also all RISC-V boards in our tree
need FDT.

This also adds some tests in order to test said functions.

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I2fb1d93c5b3e1cb2f7d9584db52bbce3767b63d8
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81081
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2024-05-21 13:44:47 +00:00
..
acpi tests: Rename Makefiles from .inc to .mk 2024-01-26 12:43:08 +00:00
commonlib treewide: Move list.h to commonlib 2024-02-24 11:49:46 +00:00
console tests: Rename Makefiles from .inc to .mk 2024-01-26 12:43:08 +00:00
data/lib lib/device_tree: Add some FDT helper functions 2024-05-21 13:44:47 +00:00
device tests: Rename Makefiles from .inc to .mk 2024-01-26 12:43:08 +00:00
drivers tests: Rename Makefiles from .inc to .mk 2024-01-26 12:43:08 +00:00
helpers tests/lib: Factor out file related functions 2024-05-21 13:44:39 +00:00
include tests/lib: Factor out file related functions 2024-05-21 13:44:39 +00:00
lib lib/device_tree: Add some FDT helper functions 2024-05-21 13:44:47 +00:00
mock tests: Fix tests code and comments style 2022-01-14 14:29:29 +00:00
stubs tests/stubs/console: Allow enabling printk to print to stdout 2021-09-13 14:00:57 +00:00
Makefile.common tests/lib: Factor out file related functions 2024-05-21 13:44:39 +00:00
Makefile.mk tests: Rename Makefiles from .inc to .mk 2024-01-26 12:43:08 +00:00