Commit 7472a5df authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Michal Simek
Browse files

ARM: zynq: pass "-mfpu=neon" only to lowlevel_init.S

The comment line in arch/arm/cpu/armv7/zynq/ says that
the option "-mfpu=neon" is necessary for compiling lowlevel_init.S.
We do not have to give it to all the source files.
Signed-off-by: default avatarMasahiro Yamada <>
Signed-off-by: default avatarMichal Simek <>
parent 31137acb
......@@ -14,4 +14,5 @@ obj-y += ddrc.o
obj-y += slcr.o
obj-y += clk.o
obj-y += lowlevel_init.o
AFLAGS_lowlevel_init.o := -mfpu=neon
obj-$(CONFIG_SPL_BUILD) += spl.o
# Copyright (C) 2013 - 2015 Xilinx, Inc. All rights reserved.
# SPDX-License-Identifier: GPL-2.0
# Allow NEON instructions (needed for lowlevel_init.S with GNU toolchain)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment