vboot: allow non-relocatable ramstage loading
The vboot implementation previously assumed that ramstage would be a relocatable module. Allow for ramstage not being a relocatable module. BUG=chrome-os-partner:27094 BRANCH=None TEST=Built nyan with vboot. Change-Id: Id3544533740d77e2db6be3960bef0c129173bacc Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/190923 Reviewed-by: Gabe Black <gabeblack@chromium.org>
This commit is contained in:
parent
fda20947b9
commit
756ee3a698
3 changed files with 59 additions and 1 deletions
|
|
@ -145,7 +145,8 @@ $(obj)/lib/uart8250.smm.o : $(OPTION_TABLE_H)
|
|||
|
||||
ifeq ($(CONFIG_RELOCATABLE_MODULES),y)
|
||||
ramstage-y += rmodule.c
|
||||
romstage-$(CONFIG_RELOCATABLE_RAMSTAGE) += rmodule.c
|
||||
# Include rmodule.c in romstage if vboot verification is selected.
|
||||
romstage-$(CONFIG_VBOOT_VERIFY_FIRMWARE) += rmodule.c
|
||||
|
||||
RMODULE_LDSCRIPT := $(src)/lib/rmodule.ld
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue