Files
system76-coreboot/src/lib
Maximilian Brune 77eaec6587 lib/device_tree.c: Fix print_property
This uses the size attribute to traverse the possible string.
This patch traverses the entire property for non printable characters
and not just until the first 0 is hit.

Now numbers that start with a zero (memory wise) are not falsely
recognized as strings:

before the patch:
clock-frequency = "";

after the patch:
clock-frequency = < 0x1c2000 >;

Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Change-Id: I229c07b76468fe54f90fa9df12f103d7c7c2859d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/78025
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2023-11-16 12:01:40 +00:00
..
2022-12-17 20:51:38 +00:00
2021-11-03 08:29:16 +00:00
2017-03-13 17:21:02 +01:00
2022-10-06 18:13:19 +00:00
2022-11-30 03:07:23 +00:00
2022-11-07 02:29:23 +00:00
2023-05-22 12:33:32 +00:00
2022-09-07 22:24:51 +00:00