amd/amdfam10/northbridge.c: Fix FTBFS with CONFIG_PCI_64BIT_PREF_MEM
Remove declaration of unused variable `io`. Change-Id: I750fc3a135f7634ad16c0f6a1a5bdb16ac702977 Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-on: http://review.coreboot.org/8265 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Tested-by: build bot (Jenkins)
This commit is contained in:
parent
ae98e83eb2
commit
e538daeaec
|
@ -1,6 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* This file is part of the coreboot project.
|
* This file is part of the coreboot project.
|
||||||
*
|
*
|
||||||
|
* Copyright (C) 2015 Timothy Pearson <tpearson@raptorengineeringinc.com>, Raptor Engineering
|
||||||
* Copyright (C) 2007 Advanced Micro Devices, Inc.
|
* Copyright (C) 2007 Advanced Micro Devices, Inc.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -858,7 +859,7 @@ static void setup_uma_memory(void)
|
||||||
static void amdfam10_domain_set_resources(device_t dev)
|
static void amdfam10_domain_set_resources(device_t dev)
|
||||||
{
|
{
|
||||||
#if CONFIG_PCI_64BIT_PREF_MEM
|
#if CONFIG_PCI_64BIT_PREF_MEM
|
||||||
struct resource *io, *mem1, *mem2;
|
struct resource *mem1, *mem2;
|
||||||
struct resource *res;
|
struct resource *res;
|
||||||
#endif
|
#endif
|
||||||
unsigned long mmio_basek;
|
unsigned long mmio_basek;
|
||||||
|
@ -914,7 +915,7 @@ static void amdfam10_domain_set_resources(device_t dev)
|
||||||
mem2->base, mem2->limit, mem2->size, mem2->align);
|
mem2->base, mem2->limit, mem2->size, mem2->align);
|
||||||
}
|
}
|
||||||
|
|
||||||
for(res = &dev->resource_list; res; res = res->next)
|
for(res = dev->resource_list; res; res = res->next)
|
||||||
{
|
{
|
||||||
res->flags |= IORESOURCE_ASSIGNED;
|
res->flags |= IORESOURCE_ASSIGNED;
|
||||||
res->flags |= IORESOURCE_STORED;
|
res->flags |= IORESOURCE_STORED;
|
||||||
|
|
Loading…
Reference in New Issue