]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: avoid duplicate weak invalidate_icache_all()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 16 Jun 2024 17:31:05 +0000 (19:31 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 3 Jul 2024 20:44:03 +0000 (14:44 -0600)
commit5225060b892d96a6da48f539609fb060859e955f
tree037cdaa85e6f14faec1f89e1c56a7edefa1f2779
parent2da287ad13e1b488c1c39afc4721d733d6b83cd7
efi_loader: avoid duplicate weak invalidate_icache_all()

If multiple weak implementations of a weak function exist, it is unclear
which one the linker should chose. cmd/cache.c already defines a weak
invalidate_icache_all().

We don't need a call to invalidate_icache_all() on x86.
ARM, RISC-V, and Sandbox provide an implementation.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_image_loader.c
lib/efi_loader/efi_runtime.c