Add CONFIG_WARNINGS_ARE_ERRORS and set it for qemu.
Remove all remaining warnings from qemu. Signed-off-by: Myles Watson <mylesgw@gmail.com> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4939 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include <bitops.h>
|
||||
#include "chip.h"
|
||||
#include "northbridge.h"
|
||||
#include <delay.h>
|
||||
|
||||
static void ram_resource(device_t dev, unsigned long index,
|
||||
unsigned long basek, unsigned long sizek)
|
||||
@@ -157,9 +158,9 @@ struct chip_operations cpu_emulation_qemu_x86_ops = {
|
||||
.enable_dev = enable_dev,
|
||||
};
|
||||
|
||||
void udelay(int usecs)
|
||||
void udelay(unsigned usecs)
|
||||
{
|
||||
int i;
|
||||
unsigned i;
|
||||
for(i = 0; i < usecs; i++)
|
||||
inb(0x80);
|
||||
}
|
||||
|
Reference in New Issue
Block a user