7528311929
This patch adds a function to calculate best rational approximation for a given fraction and unit tests for it. Change-Id: I2272d9bb31cde54e65721f95662b80754eee50c2 Signed-off-by: Vinod Polimera <quic_vpolimer@quicinc.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/66010 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
58 lines
1.3 KiB
Makefile
58 lines
1.3 KiB
Makefile
subdirs-y += storage
|
|
|
|
bootblock-y += mem_pool.c
|
|
verstage-y += mem_pool.c
|
|
romstage-y += mem_pool.c
|
|
ramstage-y += mem_pool.c
|
|
postcar-y += mem_pool.c
|
|
smm-y += mem_pool.c
|
|
|
|
bootblock-y += iobuf.c
|
|
verstage-y += iobuf.c
|
|
romstage-y += iobuf.c
|
|
ramstage-y += iobuf.c
|
|
smm-y += iobuf.c
|
|
postcar-y += iobuf.c
|
|
|
|
bootblock-y += region.c
|
|
verstage-y += region.c
|
|
romstage-y += region.c
|
|
ramstage-y += region.c
|
|
smm-y += region.c
|
|
postcar-y += region.c
|
|
|
|
romstage-y += rational.c
|
|
ramstage-y += rational.c
|
|
|
|
ramstage-$(CONFIG_PLATFORM_USES_FSP1_1) += fsp_relocate.c
|
|
ifeq ($(CONFIG_FSP_M_XIP),)
|
|
romstage-$(CONFIG_PLATFORM_USES_FSP2_0) += fsp_relocate.c
|
|
endif
|
|
ramstage-$(CONFIG_PLATFORM_USES_FSP2_0) += fsp_relocate.c
|
|
|
|
bootblock-y += bsd/cbfs_private.c
|
|
verstage-y += bsd/cbfs_private.c
|
|
romstage-y += bsd/cbfs_private.c
|
|
postcar-y += bsd/cbfs_private.c
|
|
ramstage-y += bsd/cbfs_private.c
|
|
smm-y += bsd/cbfs_private.c
|
|
|
|
bootblock-y += bsd/cbfs_mcache.c
|
|
verstage-y += bsd/cbfs_mcache.c
|
|
romstage-y += bsd/cbfs_mcache.c
|
|
postcar-y += bsd/cbfs_mcache.c
|
|
ramstage-y += bsd/cbfs_mcache.c
|
|
smm-y += bsd/cbfs_mcache.c
|
|
|
|
decompressor-y += bsd/lz4_wrapper.c
|
|
bootblock-y += bsd/lz4_wrapper.c
|
|
verstage-y += bsd/lz4_wrapper.c
|
|
romstage-y += bsd/lz4_wrapper.c
|
|
ramstage-y += bsd/lz4_wrapper.c
|
|
postcar-y += bsd/lz4_wrapper.c
|
|
|
|
ramstage-y += sort.c
|
|
|
|
romstage-y += bsd/elog.c
|
|
ramstage-y += bsd/elog.c
|
|
smm-y += bsd/elog.c
|