blob: 905613e219c49127687fa069d057b39d1585b0f1 [file] [log] [blame]
Martin Rothc7acf162020-05-28 00:44:50 -06001# SPDX-License-Identifier: GPL-2.0-only
2
3verstage-generic-ccopts += -I$(src)/soc/amd/picasso/psp_verstage/include
4verstage-generic-ccopts += -I$(src)/vendorcode/amd/fsp/picasso/include
Martin Roth4b3c0632020-07-23 17:27:11 -06005verstage-generic-ccopts += -D__USER_SPACE__
Martin Rothc7acf162020-05-28 00:44:50 -06006CPPFLAGS_common += -I$(VBOOT_SOURCE)/firmware/2lib/include/
7
8verstage-y += delay.c
9verstage-y += fch.c
10verstage-y += pmutil.c
11verstage-y += post.c
12verstage-y += printk.c
13verstage-y += psp_verstage.c
14verstage-y += psp.c
15verstage-y += reset.c
16verstage-y += svc.c
17verstage-y += timer.c
18verstage-y += timestamp.c
19verstage-y += vboot_crypto.c
20
21verstage-y += $(top)/src/vendorcode/amd/fsp/picasso/bl_uapp/bl_uapp_startup.S
22verstage-y += $(top)/src/vendorcode/amd/fsp/picasso/bl_uapp/bl_uapp_end.S
23
24$(obj)/psp_verstage.bin: $(objcbfs)/verstage.elf
25 $(OBJCOPY_verstage) -O binary $^ $@