diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2020-09-09 13:07:04 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-09-30 18:55:22 +0300 |
commit | bad2433151021315e04bcbb72c6c5bd2b938656b (patch) | |
tree | 25fc8a95b0446f808c9869997c60ad7ebe60bc69 /arch | |
parent | 139e4a1cbe60de96d4febbc6db5882929801ca46 (diff) | |
download | u-boot-bad2433151021315e04bcbb72c6c5bd2b938656b.tar.xz |
test: reset: Add tests for the managed API
The tests are basically the same as for the regular API. Except that
the reset are initialized using the managed API, and no freed manually.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Pratyush Yadav <p.yadav@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sandbox/include/asm/reset.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sandbox/include/asm/reset.h b/arch/sandbox/include/asm/reset.h index c4205eabef..40d3e61c11 100644 --- a/arch/sandbox/include/asm/reset.h +++ b/arch/sandbox/include/asm/reset.h @@ -11,9 +11,12 @@ struct udevice; int sandbox_reset_query(struct udevice *dev, unsigned long id); +int sandbox_reset_is_requested(struct udevice *dev, unsigned long id); int sandbox_reset_test_get(struct udevice *dev); +int sandbox_reset_test_get_devm(struct udevice *dev); int sandbox_reset_test_get_bulk(struct udevice *dev); +int sandbox_reset_test_get_bulk_devm(struct udevice *dev); int sandbox_reset_test_assert(struct udevice *dev); int sandbox_reset_test_assert_bulk(struct udevice *dev); int sandbox_reset_test_deassert(struct udevice *dev); |