summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdfam10/amdfam10_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/northbridge/amd/amdfam10/amdfam10_util.c')
-rw-r--r--src/northbridge/amd/amdfam10/amdfam10_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/amd/amdfam10/amdfam10_util.c b/src/northbridge/amd/amdfam10/amdfam10_util.c
index 3e8c2fbeac..23e92323a8 100644
--- a/src/northbridge/amd/amdfam10/amdfam10_util.c
+++ b/src/northbridge/amd/amdfam10/amdfam10_util.c
@@ -21,7 +21,7 @@
#include "raminit.h"
#include <northbridge/amd/amdmct/amddefs.h>
-#ifndef __SIMPLE_DEVICE__
+#if !ENV_PCI_SIMPLE_DEVICE
u32 Get_NB32(u32 dev, u32 reg)
{
return pci_read_config32(pcidev_path_on_root(PCI_DEV2DEVFN(dev)), reg);