[PATCH 1/2] configs: airoha: an7581: enable position independent code

Mikhail Kshevetskiy mikhail.kshevetskiy at iopsys.eu
Mon Apr 27 15:53:25 CEST 2026


This enables U-Boot loading from any 4K aligned address.
It makes U-Boot debugging a bit simpler.

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy at iopsys.eu>
---
 configs/an7581_evb_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/an7581_evb_defconfig b/configs/an7581_evb_defconfig
index a94730cf564..16100d00f98 100644
--- a/configs/an7581_evb_defconfig
+++ b/configs/an7581_evb_defconfig
@@ -1,4 +1,5 @@
 CONFIG_ARM=y
+CONFIG_POSITION_INDEPENDENT=y
 CONFIG_ARCH_AIROHA=y
 CONFIG_TARGET_AN7581=y
 CONFIG_TEXT_BASE=0x81E00000
-- 
2.53.0



More information about the U-Boot mailing list