Move drivers/storage into commonlib/storage to enable access by libpayload and indirectly by payloads. * Remove SD/MMC specific include files from include/device * Remove files from drivers/storage * Add SD/MMC specific include files to commonlib/include * Add files to commonlib/storage * Fix header file references * Add subdir entry in commonlib/Makefile.inc to build the SD/MMC driver * Add Kconfig source for commonlib/storage * Rename *DEVICE* to *COMMONLIB* * Rename *DRIVERS_STORAGE* to *COMMONLIB_STORAGE* TEST=Build and run on Galileo Gen2 Change-Id: I4339e4378491db9a0da1f2dc34e1906a5ba31ad6 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/19672 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
38 lines
789 B
Makefile
38 lines
789 B
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
|
|
|
|
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
|
|
|
|
ramstage-$(CONFIG_PLATFORM_USES_FSP1_1) += fsp_relocate.c
|
|
ramstage-$(CONFIG_PLATFORM_USES_FSP2_0) += fsp_relocate.c
|
|
|
|
bootblock-y += cbfs.c
|
|
verstage-y += cbfs.c
|
|
romstage-y += cbfs.c
|
|
ramstage-y += cbfs.c
|
|
smm-y += cbfs.c
|
|
postcar-y += cbfs.c
|
|
|
|
bootblock-y += lz4_wrapper.c
|
|
verstage-y += lz4_wrapper.c
|
|
romstage-y += lz4_wrapper.c
|
|
ramstage-y += lz4_wrapper.c
|
|
postcar-y += lz4_wrapper.c
|