[PATCH 17/19] dm: devres: Add tests
sjg at google.com
sjg at google.com
Fri Jan 10 09:57:33 CET 2020
The devres functionality has very few users in U-Boot, but it still should
have tests. Add a few basic tests of the main functions.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/core/devres.c | 13 +++
include/dm/devres.h | 20 +++++
test/dm/Makefile | 1 +
test/dm/devres.c | 178 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 212 insertions(+)
create mode 100644 test/dm/devres.c
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list