]> 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, 19 Jun 2024 19:10:23 +0000 (13:10 -0600)
commit19d41f495a24f112ed62c041d18e53334e1b791d
treede00c0e3fc620374e1794b7166671ba95493d566
parent15a15e3febdc6860d5abf3ee10d12b0f237af436
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: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_image_loader.c
lib/efi_loader/efi_runtime.c