[PATCH 2/2] ARM: force TEXT_BASE to zero only for relocatable build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit 2a94e821ba2e (ARM: For relocatable image force TEXT_BASE 0x0)
intended to force the TEXT_BASE to zero for relocatable images, but
the change added the Kconfig symbol overriding the TEXT_BASE
unconditionally. This breaks non-relocatable images.

Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx>
---
 arch/arm/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 652ac24ce3fa..f4e943a8fd8a 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -19,9 +19,11 @@ config ARM_USE_COMPRESSED_DTB
 	select UNCOMPRESS
 	select LZO_DECOMPRESS
 
+if RELOCATABLE
 config TEXT_BASE
 	hex
 	default 0x0
+endif
 
 menu "System Type"
 
-- 
2.23.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux