Skip to contentSkip to conversation

TI:omap: Update u-boot-spl.lds for i2c multibus/multiadapter update

PATCH New Tom Rini 1 participant 1 message Nov 15, 2013 Arm (32-bit)

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 TI:omap: Update u-boot-spl.lds for i2c multibus/multiadapter update

In 6789e84 we update u-boot-spl.lds for OMAP to ensure we include adapter information, as we use i2c during SPL. However, the regex used also means we included commands that may have been built. On omap5_uevm this leads to a failure as we include the command from the do_tca642x command, and fail to link. The fix is to restrict our regex to only the i2c list parts.

---
 arch/arm/cpu/armv7/omap-common/u-boot-spl.lds |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/cpu/armv7/omap-common/u-boot-spl.lds +2 -1
index 989083c..02aa129 100644
@@ -34,8 +34,9 @@ SECTIONS
 
 	. = ALIGN(4);
 	.u_boot_list : {
-		KEEP(*(SORT(.u_boot_list*)));
+		KEEP(*(SORT(.u_boot_list*_i2c_*)));
 	} >.sram
+
 	. = ALIGN(4);
 	__image_copy_end = .;
 	_end = .;
Signature · 1 line
1.7.9.5