]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/karo/tx53/u-boot.lds
karo: tx53: prevent boot failure do to bad blocks inside the U-Boot partition
[karo-tx-uboot.git] / board / karo / tx53 / u-boot.lds
index d775349e8ee4e47e0e21b8b9efbec330848e2683..1ce1e2ff87383ea7bfad11a5d32bfa9fa16f25d4 100644 (file)
@@ -62,6 +62,11 @@ SECTIONS
                *(.rel*)
        }
 
+       /* Workaround for an apparent bug in i.MX53 ROM Code,
+        * that skips loading the last block if it doesn't
+        * end on a 4KiB boundary.
+        */
+       . = ALIGN(4096);
        .rel_dyn_end :
        {
                *(.__rel_dyn_end)