[PATCH v3 08/15] ti: k3: remove efi_add_known_memory() function definition

Simon Glass sjg at chromium.org
Mon Oct 14 17:50:45 CEST 2024


On Sun, 13 Oct 2024 at 04:56, Sughosh Ganu <sughosh.ganu at linaro.org> wrote:
>
> The efi_add_known_memory() function for the TI K3 platforms is adding
> the EFI_CONVENTIONAL_MEMORY type. This memory is now being handled
> through the LMB module -- the lmb_add_memory() adds this memory to the
> memory map. Remove the definition of the now superfluous
> efi_add_known_memory() function.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> ---
> Changes since V2: None
>
>  arch/arm/mach-k3/common.c | 11 -----------
>  1 file changed, 11 deletions(-)

I agree we should not have these calls sprinkled throughout U-Boot. In
fact let's make efi_add_memory_map() static at some point!

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list