[PATCH] test: dm: test-fdt: Use fdtdec_get_int() in dm_check_devices()

Tom Rini trini at konsulko.com
Thu Sep 7 03:53:01 CEST 2023


On Wed, Aug 23, 2023 at 09:37:44PM +0200, Marek Vasut wrote:

> 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 at mailbox.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/next, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230906/fcaa4ca1/attachment.sig>


More information about the U-Boot mailing list