diff mbox series

[v3,2/8] configs: synquacer: Make U-Boot binary position independent

Message ID 162608615390.206671.1289297812761357181.stgit@localhost
State Accepted
Commit f7e16bb0c5362c9b01d7e6e96bf6c77fd6b3d89e
Headers show
Series arm64: synquacer: DeveloperBox updates | expand

Commit Message

Masami Hiramatsu July 12, 2021, 10:35 a.m. UTC
Make the U-Boot binary for SynQuacer position independent so
that the previous bootloader (SCP firmware or BL2) can load
the U-Boot anywhere.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>

---
 Changes in v3:
   - Fix configs with savedefconfig.
 Changes in v2:
   - Fix a typo in the changelog.
---
 configs/synquacer_developerbox_defconfig |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tom Rini July 24, 2021, 8:40 p.m. UTC | #1
On Mon, Jul 12, 2021 at 07:35:54PM +0900, Masami Hiramatsu wrote:

> Make the U-Boot binary for SynQuacer position independent so

> that the previous bootloader (SCP firmware or BL2) can load

> the U-Boot anywhere.

> 

> Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>


Applied to u-boot/master, thanks!

-- 
Tom
diff mbox series

Patch

diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig
index 090bc47524..92be72d1d0 100644
--- a/configs/synquacer_developerbox_defconfig
+++ b/configs/synquacer_developerbox_defconfig
@@ -1,6 +1,7 @@ 
 CONFIG_ARM=y
+CONFIG_POSITION_INDEPENDENT=y
 CONFIG_ARCH_SYNQUACER=y
-CONFIG_SYS_TEXT_BASE=0x08200000
+CONFIG_SYS_TEXT_BASE=0x00000000
 CONFIG_ENV_SIZE=0x30000
 CONFIG_ENV_OFFSET=0x300000
 CONFIG_ENV_SECT_SIZE=0x10000