projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17b3f32
)
arm: socfpga: Fix: Compile MCR instruction on ARM 32-bit only
author
Ley Foon Tan
<ley.foon.tan@intel.com>
Thu, 12 Jul 2018 11:13:34 +0000
(19:13 +0800)
committer
Marek Vasut
<marex@denx.de>
Thu, 12 Jul 2018 14:03:35 +0000
(16:03 +0200)
MCR instruction only available in ARM 32-bit. So, compile MCR instruction
when ARM 32-bit is enabled.
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/mach-socfpga/board.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-socfpga/board.c
b/arch/arm/mach-socfpga/board.c
index cb6530f7e8feea57215940756b0a113ea6b5941c..26d84be6e963d9b3085a6f27d13d3b70585d7b45 100644
(file)
--- a/
arch/arm/mach-socfpga/board.c
+++ b/
arch/arm/mach-socfpga/board.c
@@
-19,6
+19,7
@@
DECLARE_GLOBAL_DATA_PTR;
void s_init(void) {
+#ifndef CONFIG_ARM64
/*
* Preconfigure ACTLR, make sure Write Full Line of Zeroes is disabled.
* This is optional on CycloneV / ArriaV.
@@
-29,6
+30,7
@@
void s_init(void) {
"isb\n"
"dsb\n"
::"r"(0x0));
+#endif
}
/*