diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-09-27 15:32:22 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-09-29 03:39:33 +0000 |
commit | 23d4d9f36882dbca1fea9b4430210eef73a0eb71 (patch) | |
tree | a80568adf6ddb0eda4c2266d31fcef790f4b7d9c /src/northbridge/amd/amdfam10/amdfam10_util.c | |
parent | 0f639750a10cad0b6bd6d44626f71e457ea62349 (diff) | |
download | coreboot-23d4d9f36882dbca1fea9b4430210eef73a0eb71.tar.xz |
amdfam_10h-15h: Use ENV_PCI_SIMPLE_DEVICE
Change-Id: I265d50af1099ae4449b5adebcf21e2043aa02c7a
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35654
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/northbridge/amd/amdfam10/amdfam10_util.c')
-rw-r--r-- | src/northbridge/amd/amdfam10/amdfam10_util.c | 2 |
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); |