aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-q35/bootblock.c
diff options
context:
space:
mode:
authorFrans Hendriks <fhendriks@eltan.com>2021-01-26 12:08:18 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-01-28 09:30:32 +0000
commit2659d4090546bab463853ae6c5874f562b81fbde (patch)
tree7097a5e98b95de979b9c48547c6700a725221a1b /src/mainboard/emulation/qemu-q35/bootblock.c
parentca083db4d377cdfeca61ad97b33efadc0f9ccf36 (diff)
mb/emulation/qemu-q35: Solve lint-001 error
lint-001-no-global-config-in-romstage error on D0F0_PCIEXBAR_LO. DOF0_PCIEXBAR_LO is defined in bootblock.c and romstage.c. Place D0F0_PCIEXBAR_XX in local gm35.h. BUG = N/A TEST = Build and boot QEMU x86 q35/ich9 Change-Id: Ia5ac9eb797de996186282193647313b9f7b42624 Signed-off-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49930 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com> Reviewed-by: Erik van den Bogaert <ebogaert@eltan.com>
Diffstat (limited to 'src/mainboard/emulation/qemu-q35/bootblock.c')
-rw-r--r--src/mainboard/emulation/qemu-q35/bootblock.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainboard/emulation/qemu-q35/bootblock.c b/src/mainboard/emulation/qemu-q35/bootblock.c
index efb3a4f7e1..6de3dd820b 100644
--- a/src/mainboard/emulation/qemu-q35/bootblock.c
+++ b/src/mainboard/emulation/qemu-q35/bootblock.c
@@ -6,9 +6,7 @@
#include <southbridge/intel/i82801ix/i82801ix.h>
#include <console/console.h>
-/* Just define these here, there is no gm35.h file to include. */
-#define D0F0_PCIEXBAR_LO 0x60
-#define D0F0_PCIEXBAR_HI 0x64
+#include "gm35.h"
static void bootblock_northbridge_init(void)
{