diff options
author | Daniel Golle <daniel@makrotopia.org> | 2018-06-15 11:56:05 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2018-06-15 12:45:37 +0200 |
commit | 8e2f8b0c835091e0c0cabc70f219cff317f4823d (patch) | |
tree | cbe2a721fe01dcf09803456f8a26c64e4c14ffed /package/kernel/lantiq/ltq-vdsl-fw/src/LzmaWrapper.h | |
parent | f47d7df6a89ae9457fc99dcb44c35969aa40b7a8 (diff) | |
download | upstream-8e2f8b0c835091e0c0cabc70f219cff317f4823d.tar.gz upstream-8e2f8b0c835091e0c0cabc70f219cff317f4823d.tar.bz2 upstream-8e2f8b0c835091e0c0cabc70f219cff317f4823d.zip |
Revert "lantiq: get rid of ltq-vdsl-fw"
This reverts commit 0938233fcdef67d969f9429a10761cc640c6d56d.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/kernel/lantiq/ltq-vdsl-fw/src/LzmaWrapper.h')
-rw-r--r-- | package/kernel/lantiq/ltq-vdsl-fw/src/LzmaWrapper.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/package/kernel/lantiq/ltq-vdsl-fw/src/LzmaWrapper.h b/package/kernel/lantiq/ltq-vdsl-fw/src/LzmaWrapper.h new file mode 100644 index 0000000000..2f9a3ffbbb --- /dev/null +++ b/package/kernel/lantiq/ltq-vdsl-fw/src/LzmaWrapper.h @@ -0,0 +1,36 @@ +/****************************************************************************** +** +** FILE NAME : LzmaWrapper.h +** PROJECT : bootloader +** MODULES : U-boot +** +** DATE : 2 Nov 2006 +** AUTHOR : Lin Mars +** DESCRIPTION : LZMA decoder support for U-boot 1.1.5 +** COPYRIGHT : Copyright (c) 2006 +** Infineon Technologies AG +** Am Campeon 1-12, 85579 Neubiberg, Germany +** +** This program is free software; you can redistribute it and/or modify +** it under the terms of the GNU General Public License as published by +** the Free Software Foundation; either version 2 of the License, or +** (at your option) any later version. +** +** HISTORY +** $Date $Author $Comment +** 2 Nov 2006 Lin Mars init version which derived from LzmaTest.c from +** LZMA v4.43 SDK +*******************************************************************************/ +#ifndef __LZMA_WRAPPER_H__ +#define __LZMA_WRAPPER_H__ + +#ifndef LZMA_RESULT_OK +#define LZMA_RESULT_OK 0 +#endif +#ifndef LZMA_RESULT_DATA_ERROR +#define LZMA_RESULT_DATA_ERROR 1 +#endif + +extern int lzma_inflate(unsigned char *source, int s_len, unsigned char *dest, int *d_len); + +#endif /*__LZMA_WRAPPER_H__*/ |