diff mbox series

arm64: versal: Generate position-independent pre-relocation code

Message ID df754c4e7a2fe2a504b3d9cc781046a139a07933.1578483759.git.michal.simek@xilinx.com
State Accepted
Commit c3f1eaa32dc2ab48e193778d45b97d4d2206b0b2
Delegated to: Michal Simek
Headers show
Series arm64: versal: Generate position-independent pre-relocation code | expand

Commit Message

Michal Simek Jan. 8, 2020, 11:42 a.m. UTC
Enable position independent pre-relocation to let users options to put
u-boot to different locations.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

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

Comments

Michal Simek Sept. 23, 2020, 12:26 p.m. UTC | #1
st 8. 1. 2020 v 12:42 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> Enable position independent pre-relocation to let users options to put
> u-boot to different locations.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  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
diff mbox series

Patch

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