From 24a06158ba528aee6a23b01799fc368753e035da Mon Sep 17 00:00:00 2001 From: "Ronald G. Minnich" Date: Sat, 16 Feb 2008 06:38:45 +0000 Subject: [PATCH] This is an emergency commit because the zero compression, as it stands, is causing coreboot on the alix1c to hang. I don't know why. But this patch is the difference between works and hangs. I think the memset in the decompress is not using the right start value? Not sure. This simple change allows us to fix the zero decompress later, when we figure it out. I just lost a few hours to this and I want to make sure the repo works before I go to bed. This fix tested on alix1c. Alix1c now works fine. Signed-off-by: Ronald G. Minnich Acked-by: Ronald G. Minnich git-svn-id: svn://coreboot.org/repository/coreboot-v3@604 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- util/lar/stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/util/lar/stream.c b/util/lar/stream.c index 0b9f766189..7de58da65e 100644 --- a/util/lar/stream.c +++ b/util/lar/stream.c @@ -148,6 +148,7 @@ int output_elf_segments(struct lar *lar, char *name, char *filebuf, continue; } thisalgo = zeroes; + thisalgo = algo; if (verbose()) fprintf(stderr, "New section addr %#x size %#x\n", (u32)shdr[i].sh_addr, (u32)shdr[i].sh_size);