summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-07-24 13:27:46 +0300
committerMartin Roth <martinroth@google.com>2019-07-25 16:42:26 +0000
commit326edeb59c5504a8ca8e0ad9a6d6d2d8602e94e3 (patch)
tree9a08728262c9e4ef87512adfe9ea14dc6177a217
parentea244146050e2ea12fd4f9ed1c44693daaac082a (diff)
soc/intel/broadwell: Fix case of SA_DEV_ROOT
Commit 71756c2 soc/intel: Expand SA_DEV_ROOT for ramstage removed SA_DEV_ROOT expanding to device pointer. We missed the case here, use __SIMPLE_DEVICE__ instead for the file. Change-Id: I4331298837afa3b8c8321da610f99f8f5fa54737 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34546 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r--src/soc/intel/broadwell/memmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/intel/broadwell/memmap.c b/src/soc/intel/broadwell/memmap.c
index 7443121100..836fda8b5d 100644
--- a/src/soc/intel/broadwell/memmap.c
+++ b/src/soc/intel/broadwell/memmap.c
@@ -13,6 +13,8 @@
* GNU General Public License for more details.
*/
+#define __SIMPLE_DEVICE__
+
#include <device/pci_ops.h>
#include <cbmem.h>
#include <device/pci.h>