[PATCH 01/17] arm: Remove stray .mmutable reference in linker script
Ilias Apalodimas
ilias.apalodimas at linaro.org
Wed Feb 26 15:44:00 CET 2025
On Mon, 24 Feb 2025 at 07:55, Sam Edwards <cfsworks at gmail.com> wrote:
>
> The .mmutable section was deprecated in 2012 [1] and finally removed
> entirely from U-Boot in 2022 [2], so this special handling is no longer
> necessary. Remove it to tidy up the linker script.
>
> [1]: dde3b70dcf3d ("arm: add a common .lds link script")
> [2]: 3135ba642f9a ("arm: pxa: Remove CONFIG_CPU_PXA25X")
>
> Signed-off-by: Sam Edwards <CFSworks at gmail.com>
> ---
> arch/arm/cpu/u-boot.lds | 9 ---------
> 1 file changed, 9 deletions(-)
>
> diff --git a/arch/arm/cpu/u-boot.lds b/arch/arm/cpu/u-boot.lds
> index 2f50087f57a..63e82a09fad 100644
> --- a/arch/arm/cpu/u-boot.lds
> +++ b/arch/arm/cpu/u-boot.lds
> @@ -169,15 +169,6 @@ SECTIONS
> _end = .;
> _image_binary_end = .;
>
> - /*
> - * Deprecated: this MMU section is used by pxa at present but
> - * should not be used by new boards/CPUs.
> - */
> - . = ALIGN(4096);
> - .mmutable : {
> - *(.mmutable)
> - }
> -
> /*
> * These sections occupy the same memory, but their lifetimes do
> * not overlap: U-Boot initializes .bss only after applying dynamic
> --
> 2.45.2
>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
More information about the U-Boot
mailing list