Revert "configs: synquacer: Make U-Boot binary position independent"

Message ID 162937892508.221160.11446261885028145598.stgit@localhost
State Accepted
Commit 99a2bd65f1662c25b05d2b2fe209a76862159b87
Headers show
Series
  • Revert "configs: synquacer: Make U-Boot binary position independent"
Related show

Commit Message

Masami Hiramatsu Aug. 19, 2021, 1:15 p.m.
This reverts commit f7e16bb0c5362c9b01d7e6e96bf6c77fd6b3d89e, since
the U-Boot doesn't boot if it is booted directly from SPI-NOR with
CONFIG_POSITION_INDEPENDENT=y. Unless fixing this issue, it is better
to revert this change.

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

---
 configs/synquacer_developerbox_defconfig |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Tom Rini Sept. 2, 2021, 10:41 p.m. | #1
On Thu, Aug 19, 2021 at 10:15:25PM +0900, Masami Hiramatsu wrote:

> This reverts commit f7e16bb0c5362c9b01d7e6e96bf6c77fd6b3d89e, since

> the U-Boot doesn't boot if it is booted directly from SPI-NOR with

> CONFIG_POSITION_INDEPENDENT=y. Unless fixing this issue, it is better

> to revert this change.

> 

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


Applied to u-boot/next, thanks!

-- 
Tom

Patch

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