From b1c41231c43b0cc6719b93fe0e0e985b7abb7f5a Mon Sep 17 00:00:00 2001
From: Michael Walle <michael@walle.cc>
Date: Mon, 1 Jun 2020 21:53:29 +0200
Subject: [PATCH] armv8: layerscape: fix alignment for spin table

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 | 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.39.5