diff options
author | John Crispin <john@openwrt.org> | 2008-05-11 14:13:15 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2008-05-11 14:13:15 +0000 |
commit | 4d4f7d4c845901f0353c492f05c4f837dfd1e049 (patch) | |
tree | 8cad938f65f89fb196fadb1ebae436282f4ee313 /target/linux/ifxmips/image/u-boot/files/include/LzmaWrapper.h | |
parent | 2b05ed626c650657e29575f209ea80e6553f8a55 (diff) | |
download | upstream-4d4f7d4c845901f0353c492f05c4f837dfd1e049.tar.gz upstream-4d4f7d4c845901f0353c492f05c4f837dfd1e049.tar.bz2 upstream-4d4f7d4c845901f0353c492f05c4f837dfd1e049.zip |
add u-boot sources for danube
SVN-Revision: 11108
Diffstat (limited to 'target/linux/ifxmips/image/u-boot/files/include/LzmaWrapper.h')
-rw-r--r-- | target/linux/ifxmips/image/u-boot/files/include/LzmaWrapper.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/ifxmips/image/u-boot/files/include/LzmaWrapper.h b/target/linux/ifxmips/image/u-boot/files/include/LzmaWrapper.h new file mode 100644 index 0000000000..2f9a3ffbbb --- /dev/null +++ b/target/linux/ifxmips/image/u-boot/files/include/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__*/ |