mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 14:40:41 +00:00
9e85f13ddc
This commit introduces simple tests for functions: - uclass_find_first_device() - uclass_find_next_device() - uclass_first_device() - uclass_next_device() Tests added by this commit: - Test: dm_test_uclass_devices_find: * call uclass_find_first_device(), then check if: (dev != NULL), (ret == 0) * for the rest devices, call uclass_find_next_device() and do the same check - Test: dm_test_uclass_devices_get: * call uclass_first_device(), then check if: -- (dev != NULL), (ret == 0), device_active() * for the rest devices, call uclass_next_device() and do the same check Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org> |
||
---|---|---|
.. | ||
.gitignore | ||
bus.c | ||
cmd_dm.c | ||
core.c | ||
eth.c | ||
gpio.c | ||
i2c.c | ||
Kconfig | ||
Makefile | ||
pci.c | ||
sf.c | ||
spi.c | ||
test-dm.sh | ||
test-driver.c | ||
test-fdt.c | ||
test-main.c | ||
test-uclass.c | ||
test.dts | ||
usb.c | ||
ut.c |