1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-07 03:05:19 +02:00
Files
u-boot-megous/test
Marek Vasut ed48da3392 test: dm: test-fdt: Use fdtdec_get_int() in dm_check_devices()
The current fdtdec_get_addr() takes into consideration #address-cells
and #size-cells for "ping-expect" property which is clearly neither.
Use fdtdec_get_int() instead and return negative one in case the
property is not in DT or the platform under test is not DT based,
i.e. mimic the current fdtdec_get_addr() behavior.

This fixes ut dm dm_test_bus_children test.

Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
2023-09-06 13:51:19 -04:00
..
2023-09-04 10:51:58 -04:00
2023-08-08 10:22:03 -04:00
2023-08-31 13:16:54 -04:00
2023-08-25 13:54:33 -04:00
2023-08-22 15:17:52 -04:00
2023-04-25 15:31:27 -04:00
2022-08-10 13:38:30 -04:00
2023-04-03 06:53:53 +12:00