mainboard/emulation/qemu-q35: Do not compile memmap into SMM
This file contains functions related to PCIe and SMM, and so it's needed by bootblock and ramstage, and possibly romstage. It's not needed by SMM, and in a follow-up, the SMI handler will define `smm_region`, causing a function redefinition error. As this file isn't needed in SMM, and the SMI handler's function will work for this board too, as it works for all silicon (it returns values populated during ramstage, by board/silicon implementations of the function), drop this compilation unit from SMM. Change-Id: I0195e7d42b0669d675879fb4d2596aa4607095b9 Signed-off-by: Benjamin Doron <benjamin.doron@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/88995 Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
a7b6590aca
commit
ee1446a791
1 changed files with 0 additions and 1 deletions
|
|
@ -21,5 +21,4 @@ all-y += ../qemu-i440fx/bootmode.c
|
|||
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||
|
||||
smm-y += ../qemu-i440fx/rom_media.c
|
||||
smm-y += memmap.c
|
||||
smm-y += smihandler.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue