TI:omap: Update u-boot-spl.lds for i2c multibus/multiadapter update
authorTom Rini <trini@ti.com>
Fri, 15 Nov 2013 17:20:33 +0000 (12:20 -0500)
committerTom Rini <trini@ti.com>
Fri, 15 Nov 2013 17:20:33 +0000 (12:20 -0500)
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.

Signed-off-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/omap-common/u-boot-spl.lds

index 989083c8084a05ba1f5091ed976ec10516cb3964..02aa1297338661f009bebd01dbff690c6daff155 100644 (file)
@@ -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 = .;