]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/u-boot-spl.lds
am33xx: Update DT files, add am335x_gp_evm_config target
[karo-tx-uboot.git] / arch / arm / cpu / u-boot-spl.lds
index a69b0061d21942df2dc04923a0009da55ae970dd..c5b4f7ce5e9e4091a1d7d51e40ac9969a5a3b8c3 100644 (file)
@@ -32,14 +32,17 @@ SECTIONS
        }
 
        . = ALIGN(4);
-
-       . = .;
 #ifdef CONFIG_SPL_DM
        .u_boot_list : {
                KEEP(*(SORT(.u_boot_list_*_driver_*)));
                KEEP(*(SORT(.u_boot_list_*_uclass_*)));
        }
 #endif
+       . = .;
+       .u_boot_list : {
+               KEEP(*(SORT(.u_boot_list*_i2c_*)));
+       }
+
        . = ALIGN(4);
 
        __image_copy_end = .;
@@ -63,7 +66,7 @@ SECTIONS
                 . = ALIGN(4);
                __bss_end = .;
        }
-
+       __bss_size = __bss_end - __bss_start;
        .dynsym _image_binary_end : { *(.dynsym) }
        .dynbss : { *(.dynbss) }
        .dynstr : { *(.dynstr*) }