armv7: don't write a forward entry in coreboot tables

We don't seem to need it, and it currently confuses the payload.

(credit to Gabe Black for this, I'm just uploading it)

Change-Id: I4e3a60eceb9b24e3bc8e50db431c1a731d1cdbae
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Signed-off-by: Gabe Black <gabeblack@chromium.org>
Reviewed-on: http://review.coreboot.org/2385
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
David Hendricks 2013-02-13 20:00:49 -08:00 committed by Ronald G. Minnich
parent a86e4ba8bd
commit 398e84c71a
1 changed files with 0 additions and 18 deletions

View File

@ -329,20 +329,6 @@ static void lb_strings(struct lb_header *header)
}
#if CONFIG_WRITE_HIGH_TABLES
static struct lb_forward *lb_forward(struct lb_header *header, struct lb_header *next_header)
{
struct lb_record *rec;
struct lb_forward *forward;
rec = lb_new_record(header);
forward = (struct lb_forward *)rec;
forward->tag = LB_TAG_FORWARD;
forward->size = sizeof(*forward);
forward->forward = (uint64_t)(unsigned long)next_header;
return forward;
}
#endif
/* FIXME(dhendrix): used to be static void lb_memory_range(), but compiler
started complaining since it shares a name with a non-static struct. ugh. */
static void new_lb_memory_range(struct lb_memory *mem,
@ -612,10 +598,6 @@ unsigned long write_coreboot_table(
table_start, table_end);
head = lb_table_init(table_start);
printk(BIOS_DEBUG, "Writing table forward entry at 0x%08lx\n",
table_end);
lb_forward(head, (struct lb_header*)table_end);
table_end = (unsigned long) head + head->table_bytes;
/* FIXME(dhendrix): do we need this? */