no warnings day
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5371 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
committed by
Stefan Reinauer
parent
e9de1e2609
commit
eea66b7c35
@@ -1,4 +1,5 @@
|
||||
#include <arch/io.h>
|
||||
#include <reset.h>
|
||||
#include <device/pci_ids.h>
|
||||
|
||||
#define PCI_DEV(BUS, DEV, FN) ( \
|
||||
|
@@ -177,6 +177,7 @@ static u8 is_famly10(void)
|
||||
return (cpuid_eax(1) & 0xff00000) != 0;
|
||||
}
|
||||
|
||||
#if CONFIG_NORTHBRIDGE_AMD_AMDFAM10 == 1 /* save some spaces */
|
||||
static u8 l3_cache(void)
|
||||
{
|
||||
return (cpuid_edx(0x80000006) & (0x3FFF << 18)) != 0;
|
||||
@@ -186,6 +187,7 @@ static u8 cpu_core_number(void)
|
||||
{
|
||||
return (cpuid_ecx(0x80000008) & 0xFF) + 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
static u8 get_nb_rev(device_t nb_dev)
|
||||
{
|
||||
|
Reference in New Issue
Block a user