(trivial) fix some warnings

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4076 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2009-04-06 14:00:53 +00:00
committed by Stefan Reinauer
parent da6d92ba11
commit df77f345e7
5 changed files with 10 additions and 5 deletions

View File

@@ -204,7 +204,7 @@ struct lb_forward *lb_forward(struct lb_header *header, struct lb_header *next_h
forward = (struct lb_forward *)rec;
forward->tag = LB_TAG_FORWARD;
forward->size = sizeof(*forward);
forward->forward = (uint64_t) next_header;
forward->forward = (uint64_t)(unsigned long)next_header;
return forward;
}

View File

@@ -64,8 +64,11 @@ uint64_t high_tables_size;
struct lb_memory *write_tables(void)
{
unsigned long low_table_start, low_table_end, new_low_table_end;
unsigned long low_table_start, low_table_end;
unsigned long rom_table_start, rom_table_end;
#if HAVE_MP_TABLE == 1
unsigned long new_low_table_end;
#endif
#if HAVE_HIGH_TABLES == 1
/* Even if high tables are configured, all tables are copied both to the

View File

@@ -1,7 +1,7 @@
#include <console/console.h>
#include <string.h>
#if CONFIG_GDB_STUB == 1
#if defined(CONFIG_GDB_STUB) && CONFIG_GDB_STUB == 1
/* BUFMAX defines the maximum number of characters in inbound/outbound buffers.
* At least NUM_REGBYTES*2 are needed for register packets