diff options
author | Michal Simek <michal.simek@xilinx.com> | 2019-12-20 11:35:52 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-01-14 09:05:53 +0100 |
commit | f071cdab85fbcb9d696fc574485546a1189f452a (patch) | |
tree | f09dc3496b2ed8488b5c8ca5b89d1b31d5d94eff | |
parent | 724caaba4c32a375b32674dab0ff1638054ff317 (diff) |
arm64: Enable INIT_SP_RELATIVE by default when POC is enabled
When position-independent pre-relocation code is enable there is also
necessary to enable relative early stack pointer not to use origin location
pointed by CONFIG_SYS_INIT_SP_ADDR macro.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 8f950778bd..528a7cedbd 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -12,6 +12,7 @@ config ARM64 if ARM64 config POSITION_INDEPENDENT bool "Generate position-independent pre-relocation code" + select INIT_SP_RELATIVE help U-Boot expects to be linked to a specific hard-coded address, and to be loaded to and run from that address. This option lifts that |