diff options
author | Sean Anderson <seanga2@gmail.com> | 2023-10-14 16:48:04 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-10-17 20:50:52 -0400 |
commit | 65efaac425e948dc56db5cf315d0497faeddb5b0 (patch) | |
tree | 449fb50044d0cbe31a9d13c8ee88c8b1ede3cfb4 /lib | |
parent | 53d8bf8f9cff89dabf3c6461a1edeeddd49bccc6 (diff) | |
download | u-boot-65efaac425e948dc56db5cf315d0497faeddb5b0.zip u-boot-65efaac425e948dc56db5cf315d0497faeddb5b0.tar.gz u-boot-65efaac425e948dc56db5cf315d0497faeddb5b0.tar.bz2 |
test: spl: Add a test for the NOR load method
Add a test for the NOR load method. Since NOR is memory-mapped we can
substitute a buffer instead. The only major complication is testing LZMA
decompression. It's too complex to implement LZMA compression in a test, and we
have no in-tree compressor, so we just include some pre-compressed data. This
data was generated through something like
generate_data(plain, plain_size, "lzma")
cat plain.dat | lzma | hexdump -C
and was cleaned up further in my editor.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions