mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-19 08:21:27 +01:00
lz4: Do not disable LZ4_decompress_safe* for xPL
We should compile the LZ4_decompress_safe and LZ4_decompress_safe_partial functions in SPL and they will be discarded if unused. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
16bbc225fe
commit
dde1515be5
@ -526,7 +526,6 @@ _output_error:
|
||||
return (int) (-(((const char *)ip) - src)) - 1;
|
||||
}
|
||||
|
||||
#ifndef CONFIG_SPL_BUILD
|
||||
__rcode int LZ4_decompress_safe(const char *source, char *dest,
|
||||
int compressedSize, int maxDecompressedSize)
|
||||
{
|
||||
@ -545,4 +544,3 @@ __rcode int LZ4_decompress_safe_partial(const char *src, char *dst,
|
||||
endOnInputSize, partial_decode,
|
||||
noDict, (BYTE *)dst, NULL, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user