diff mbox series

[2/6] configs: synquacer: Make U-Boot binary position independent

Message ID 162582781774.112250.1373732983360635382.stgit@localhost
State Superseded
Headers show
Series arm64: synquacer: DeveloperBox updates | expand

Commit Message

Masami Hiramatsu July 9, 2021, 10:50 a.m. UTC
Make the U-Boot bianry 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>

---
 configs/synquacer_developerbox_defconfig |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

Marek Behún July 9, 2021, 10:52 a.m. UTC | #1
On Fri,  9 Jul 2021 19:50:18 +0900
Masami Hiramatsu <masami.hiramatsu@linaro.org> wrote:

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

*binary
Masami Hiramatsu July 10, 2021, 10:12 a.m. UTC | #2
Hi Marek,

2021年7月9日(金) 19:52 Marek Behún <marek.behun@nic.cz>:
>

> On Fri,  9 Jul 2021 19:50:18 +0900

> Masami Hiramatsu <masami.hiramatsu@linaro.org> wrote:

>

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

> *binary


OK, let me update the series. (with updating the devicetree)

Thank you,

-- 
Masami Hiramatsu
diff mbox series

Patch

diff --git a/configs/synquacer_developerbox_defconfig b/configs/synquacer_developerbox_defconfig
index d42db9a1d6..fe30f0169f 100644
--- a/configs/synquacer_developerbox_defconfig
+++ b/configs/synquacer_developerbox_defconfig
@@ -1,11 +1,13 @@ 
 CONFIG_ARM=y
 CONFIG_ARCH_SYNQUACER=y
-CONFIG_SYS_TEXT_BASE=0x08200000
+CONFIG_SYS_TEXT_BASE=0x00000000
 CONFIG_ENV_SIZE=0x30000
 CONFIG_ENV_OFFSET=0x300000
 CONFIG_DEBUG_UART_BASE=0x2a400000
 CONFIG_DEBUG_UART_CLOCK=62500000
 CONFIG_ENV_SECT_SIZE=0x10000
+CONFIG_POSITION_INDEPENDENT=y
+CONFIG_INIT_SP_RELATIVE=y
 CONFIG_DM_GPIO=y
 CONFIG_TARGET_DEVELOPERBOX=y
 CONFIG_DEFAULT_DEVICE_TREE="synquacer-sc2a11-developerbox"