blob: a274d5fc9691253cf73aa117080814dd0902bdc0 [file] [log] [blame]
Martin Rothf362bbd2023-08-04 12:24:24 -06001## SPDX-License-Identifier: GPL-2.0-only
2
Lee Leahy48dbc662017-05-08 16:56:03 -07003subdirs-y += storage
4
Aaron Durbindc9f5cd2015-09-08 13:34:43 -05005bootblock-y += mem_pool.c
6verstage-y += mem_pool.c
7romstage-y += mem_pool.c
8ramstage-y += mem_pool.c
Aaron Durbin7f8afe02016-03-18 12:21:23 -05009postcar-y += mem_pool.c
Julius Werner9b1f3cc2020-12-30 17:30:12 -080010smm-y += mem_pool.c
Aaron Durbindc9f5cd2015-09-08 13:34:43 -050011
Aaron Durbin88b26b82017-03-24 17:10:51 -050012bootblock-y += iobuf.c
13verstage-y += iobuf.c
14romstage-y += iobuf.c
15ramstage-y += iobuf.c
16smm-y += iobuf.c
17postcar-y += iobuf.c
18
Aaron Durbindc9f5cd2015-09-08 13:34:43 -050019bootblock-y += region.c
20verstage-y += region.c
21romstage-y += region.c
22ramstage-y += region.c
23smm-y += region.c
Aaron Durbin7f8afe02016-03-18 12:21:23 -050024postcar-y += region.c
Aaron Durbin04ebf592015-09-30 17:49:04 -050025
Vinod Polimera75283112022-07-20 17:25:44 +053026romstage-y += rational.c
27ramstage-y += rational.c
28
Furquan Shaikhb0c2fe02016-05-09 12:23:01 -070029ramstage-$(CONFIG_PLATFORM_USES_FSP1_1) += fsp_relocate.c
Raul E Rangel4911dc72021-11-05 10:29:24 -060030ifeq ($(CONFIG_FSP_M_XIP),)
31romstage-$(CONFIG_PLATFORM_USES_FSP2_0) += fsp_relocate.c
32endif
Aaron Durbin32ac0182016-07-18 00:35:42 -050033ramstage-$(CONFIG_PLATFORM_USES_FSP2_0) += fsp_relocate.c
Aaron Durbin295d58b2015-12-15 13:33:51 -060034
Maximilian Bruneda336cd2023-09-16 20:08:41 +020035romstage-$(CONFIG_FLATTENED_DEVICE_TREE) += device_tree.c
36ramstage-$(CONFIG_FLATTENED_DEVICE_TREE) += device_tree.c
37
Julius Werner1cd013b2019-12-11 16:50:02 -080038bootblock-y += bsd/cbfs_private.c
39verstage-y += bsd/cbfs_private.c
40romstage-y += bsd/cbfs_private.c
41postcar-y += bsd/cbfs_private.c
42ramstage-y += bsd/cbfs_private.c
43smm-y += bsd/cbfs_private.c
44
Julius Werner1e37c9c2019-12-11 17:09:39 -080045bootblock-y += bsd/cbfs_mcache.c
46verstage-y += bsd/cbfs_mcache.c
47romstage-y += bsd/cbfs_mcache.c
48postcar-y += bsd/cbfs_mcache.c
49ramstage-y += bsd/cbfs_mcache.c
50smm-y += bsd/cbfs_mcache.c
51
Julius Werner98eeb962019-12-11 15:47:42 -080052decompressor-y += bsd/lz4_wrapper.c
53bootblock-y += bsd/lz4_wrapper.c
54verstage-y += bsd/lz4_wrapper.c
55romstage-y += bsd/lz4_wrapper.c
56ramstage-y += bsd/lz4_wrapper.c
57postcar-y += bsd/lz4_wrapper.c
Werner Zehbd660e22019-02-19 13:34:12 +010058
Maximilian Brunea99b5802023-09-16 19:56:45 +020059all-y += list.c
60
Werner Zehbd660e22019-02-19 13:34:12 +010061ramstage-y += sort.c
Ricardo Quesadad45e70c2021-07-16 16:42:59 -070062
63romstage-y += bsd/elog.c
64ramstage-y += bsd/elog.c
65smm-y += bsd/elog.c
Yidi Lin909c3172023-10-31 14:57:04 +080066
67decompressor-y += bsd/gcd.c
68all-y += bsd/gcd.c
Julius Wernerde371092024-01-30 16:51:05 -080069
70all-y += bsd/ipchksum.c
Kapil Porwal829b94d2024-06-05 15:52:30 +000071
72decompressor-y += bsd/string.c
73smm-y += bsd/string.c
74all-y += bsd/string.c