armv8: layerscape: fix alignment for spin table
authorMichael Walle <michael@walle.cc>
Mon, 1 Jun 2020 19:53:29 +0000 (21:53 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 27 Jul 2020 08:46:27 +0000 (14:16 +0530)
Fix the alignment so it will match the comments. The spin table has to
be 8 byte aligned, so ".align 3" is enough.

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
arch/arm/cpu/armv8/fsl-layerscape/spintable.S

index ac9c622..a92f930 100644 (file)
@@ -19,7 +19,7 @@ secondary_boot_addr:
        .ltorg
 
        /* Using 64 bit alignment since the spin table is accessed as data */
-       .align 4
+       .align 3
        .global secondary_boot_code
        /* Secondary Boot Code starts here */
 secondary_boot_code:
@@ -144,7 +144,7 @@ ENDPROC(secondary_switch_to_el1)
        .ltorg
 
        /* 64 bit alignment for elements accessed as data */
-       .align 4
+       .align 3
        .global __real_cntfrq
 __real_cntfrq:
        .quad COUNTER_FREQUENCY