commit | 13e6d91b9daf481f725c127d8fa15ac17f926c81 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Sat Oct 14 16:47:54 2023 -0400 |
committer | Tom Rini <trini@konsulko.com> | Tue Oct 17 20:50:52 2023 -0400 |
tree | 02c637fb5f2b374d5f6d2092aff3ce9273446204 | |
parent | 123d90095b9a06c11c4c838c12fc3b9ada5bd57a [diff] |
spl: Add callbacks to invalidate cached devices Several SPL functions try to avoid performing initialization twice by caching devices. This is fine for regular boot, but does not work with UNIT_TEST, since all devices are torn down after each test. Add some functions to invalidate the caches which can be called before testing these load methods. Signed-off-by: Sean Anderson <seanga2@gmail.com>