Skip to content

Commit d6d6771

Browse files
MrChromeboxPatrick Georgi
authored andcommitted
sb/intel/bd82x6x: fix linking for non-native raminit case
Commit 45d4b17 [nb/intel/sandybridge: Move southbridge code to bd82x6x] moved early_pch_init() to the southbridge, but failed to include early_pch.c for the non-native raminit case, which now fails to link. As all boards default to native raminit, this was missed by the autobuilder. Adjust early_pch.c to be compiled regardles of ram init type used Test: build/boot google/stout with MRC ram init selected Change-Id: I50db30fda9a1099fb434c04ea97bcc38f8455233 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32382 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
1 parent 420d7e0 commit d6d6771

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/southbridge/intel/bd82x6x/Makefile.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,10 @@ smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c me.c me_8.x.c pch.c
4040
romstage-y += early_smbus.c me_status.c
4141
romstage-y += early_spi.c
4242
romstage-y += early_rcba.c
43+
romstage-y += early_pch.c
4344

4445
ifeq ($(CONFIG_USE_NATIVE_RAMINIT),y)
45-
romstage-y += early_thermal.c early_pch.c early_me.c early_usb.c
46+
romstage-y += early_thermal.c early_me.c early_usb.c
4647
else
4748
romstage-y += early_me_mrc.c early_usb_mrc.c
4849
endif

0 commit comments

Comments
 (0)