bcm53xx: 6.6: fix ASM cache workaround linking
authorRobert Marko <robimarko@gmail.com>
Mon, 1 Apr 2024 17:46:34 +0000 (19:46 +0200)
committerRobert Marko <robimarko@gmail.com>
Tue, 23 Apr 2024 20:41:11 +0000 (22:41 +0200)
commita8befdee43e2119b2697c584a83a008a26650ff6
tree6ad6c99f3e36794094f5be684a77608ef8ac095a
parent5efd41c10b876bf25af3013e57f4bb5341dfe8b8
bcm53xx: 6.6: fix ASM cache workaround linking

Kernel 6.6 checks for orphan sections and prints a warning about them,
which in turn will make CI fails as we have Werror enabled there.

Issue is that cache-v7-min.S produces .init.text section which is an
orphan section since it is not being handled by the vmlinux.lds.S linker
script.

So, lets put the generated .init.text section under .text.

Fixes: f0d8ce4f482c ("bcm53xx: add testing support for kernel 6.6")
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/bcm53xx/patches-6.6/300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch