[PATCH] arm64: versal: Generate position-independent pre-relocation code

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] arm64: versal: Generate position-independent pre-relocation code

Michal Simek-3
Enable position independent pre-relocation to let users options to put
u-boot to different locations.

Signed-off-by: Michal Simek <[hidden email]>
---

 configs/xilinx_versal_virt_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
index 6488bca2c004..c7d9c22f4454 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -1,4 +1,5 @@
 CONFIG_ARM=y
+CONFIG_POSITION_INDEPENDENT=y
 CONFIG_ARCH_VERSAL=y
 CONFIG_SYS_TEXT_BASE=0x8000000
 CONFIG_SYS_MALLOC_F_LEN=0x100000
--
2.24.0

Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] arm64: versal: Generate position-independent pre-relocation code

Michal Simek-4
st 8. 1. 2020 v 12:42 odesílatel Michal Simek <[hidden email]> napsal:

>
> Enable position independent pre-relocation to let users options to put
> u-boot to different locations.
>
> Signed-off-by: Michal Simek <[hidden email]>
> ---
>
>  configs/xilinx_versal_virt_defconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
> index 6488bca2c004..c7d9c22f4454 100644
> --- a/configs/xilinx_versal_virt_defconfig
> +++ b/configs/xilinx_versal_virt_defconfig
> @@ -1,4 +1,5 @@
>  CONFIG_ARM=y
> +CONFIG_POSITION_INDEPENDENT=y
>  CONFIG_ARCH_VERSAL=y
>  CONFIG_SYS_TEXT_BASE=0x8000000
>  CONFIG_SYS_MALLOC_F_LEN=0x100000
> --
> 2.24.0
>

With fixes from Edgar this can simply go in.
Applied.
M

--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs