[PATCH v2 06/13] armv8: layerscape: fix alignment for spin table
Michael Walle
michael at walle.cc
Mon Jun 1 21:53:29 CEST 2020
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 at walle.cc>
---
arch/arm/cpu/armv8/fsl-layerscape/spintable.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/spintable.S b/arch/arm/cpu/armv8/fsl-layerscape/spintable.S
index ac9c622aee..a92f930e04 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/spintable.S
+++ b/arch/arm/cpu/armv8/fsl-layerscape/spintable.S
@@ -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
--
2.20.1
More information about the U-Boot
mailing list