summaryrefslogtreecommitdiff
path: root/src/soc/intel/elkhartlake/p2sb.c
diff options
context:
space:
mode:
authorYu-Ping Wu <yupingso@chromium.org>2024-10-01 06:41:32 +0800
committerYu-Ping Wu <yupingso@google.com>2024-10-02 02:30:12 +0000
commite5cce0055239b3c73ea5220c122e183694091ab6 (patch)
tree9af25f6442f41ae0465d86eb03b8a4ced4d40071 /src/soc/intel/elkhartlake/p2sb.c
parentcaefaaa093eaff7cba9cdd4d4b6bfd987890ea15 (diff)
libpayload: Remove default empty implementations in mock cache.h
The mock/arch/cache.h file exists for libpayload unit tests. However, the default implementations (as empty macros) in it make these functions difficult to mock in unit tests. Therefore, we follow what's done for mock/arch/io.h, by only including function declarations in the header. Each test is expected to implement mocks for these cache functions when required. Change-Id: Ie4383bf95435fd7d74d624b19b79b5a117cf6d00 Signed-off-by: Yu-Ping Wu <yupingso@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84608 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Hsuan-ting Chen <roccochen@google.com>
Diffstat (limited to 'src/soc/intel/elkhartlake/p2sb.c')
0 files changed, 0 insertions, 0 deletions