lib/lzma.c: Use header over .c include
Change-Id: I904eb1703eaf4f8de1b4ec443173686c7985be12 Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/7427 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Marc Jones <marc.jones@se-eng.com> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
cdabc880e1
commit
cd31afdc3c
|
@ -29,8 +29,7 @@ $(foreach arch,$(ARCH_SUPPORTED),\
|
||||||
|
|
||||||
romstage-$(CONFIG_I2C_TPM) += delay.c
|
romstage-$(CONFIG_I2C_TPM) += delay.c
|
||||||
romstage-y += cbfs.c cbfs_core.c
|
romstage-y += cbfs.c cbfs_core.c
|
||||||
romstage-$(CONFIG_COMPRESS_RAMSTAGE) += lzma.c
|
romstage-$(CONFIG_COMPRESS_RAMSTAGE) += lzma.c lzmadecode.c
|
||||||
#romstage-y += lzmadecode.c
|
|
||||||
romstage-$(CONFIG_CACHE_AS_RAM) += ramtest.c
|
romstage-$(CONFIG_CACHE_AS_RAM) += ramtest.c
|
||||||
|
|
||||||
ifeq ($(CONFIG_EARLY_CBMEM_INIT),y)
|
ifeq ($(CONFIG_EARLY_CBMEM_INIT),y)
|
||||||
|
@ -57,8 +56,7 @@ ramstage-y += fallback_boot.c
|
||||||
ramstage-y += compute_ip_checksum.c
|
ramstage-y += compute_ip_checksum.c
|
||||||
ramstage-y += version.c
|
ramstage-y += version.c
|
||||||
ramstage-y += cbfs.c cbfs_core.c
|
ramstage-y += cbfs.c cbfs_core.c
|
||||||
ramstage-y += lzma.c
|
ramstage-y += lzma.c lzmadecode.c
|
||||||
#ramstage-y += lzmadecode.c
|
|
||||||
ramstage-y += stack.c
|
ramstage-y += stack.c
|
||||||
ramstage-y += clog2.c
|
ramstage-y += clog2.c
|
||||||
romstage-y += clog2.c
|
romstage-y += clog2.c
|
||||||
|
|
|
@ -9,11 +9,12 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lzmadecode.c"
|
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <lib.h>
|
#include <lib.h>
|
||||||
|
|
||||||
|
#include "lzmadecode.h"
|
||||||
|
|
||||||
unsigned long ulzma(unsigned char * src, unsigned char * dst)
|
unsigned long ulzma(unsigned char * src, unsigned char * dst)
|
||||||
{
|
{
|
||||||
unsigned char properties[LZMA_PROPERTIES_SIZE];
|
unsigned char properties[LZMA_PROPERTIES_SIZE];
|
||||||
|
|
Loading…
Reference in New Issue