[PATCH 4/4] lmb: build lmb_map_update_notify() only with EFI_LOADER

Tom Rini trini at konsulko.com
Thu Feb 13 16:59:24 CET 2025


On Thu, Feb 13, 2025 at 06:41:04PM +0530, Sughosh Ganu wrote:

> The lmb_map_update_notify() function is used to update the EFI memory
> map based on corresponding changes in the LMB map. This is causing
> build failure with a certain old architecture(armv5) toolchain, when
> building with CONFIG_CC_OPTIMIZE_FOR_DEBUG symbol on platforms which
> do not enable the EFI_LOADER code. Build the code in
> lmb_map_update_notify() only when the EFI_LOADER config is enabled to
> get around this issue.
> 
> Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
> Suggested-by: Tom Rini <trini at konsulko.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250213/0ce923e1/attachment.sig>


More information about the U-Boot mailing list