commit | 93caa3efe25bb9d3e6265aa467dc5b6a2201819b | [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 | acb96c170d7c9f9aed1755efe56387127a7dff0b [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>