bcm53xx: 6.6: fix ASM cache workaround linking
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-6.6 / 300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch
index 0247a66ccc74492f910c6afd63665d3eccdbe08e..789326310ac92ebd8ba8cfe66dbaff20db9ac94e 100644 (file)
@@ -99,3 +99,13 @@ Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
        subs    r9, r9, #1                      @ decrement the index
        bge     loop2
        subs    r4, r4, #1                      @ decrement the way
+--- a/arch/arm/boot/compressed/vmlinux.lds.S
++++ b/arch/arm/boot/compressed/vmlinux.lds.S
+@@ -41,6 +41,7 @@ SECTIONS
+     *(.start)
+     *(.text)
+     *(.text.*)
++    *(.init.text)
+     ARM_STUBS_TEXT
+   }
+   .table : ALIGN(4) {