diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2017-08-07 15:48:28 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2017-08-15 10:54:51 +0200 |
commit | 5f5484c7fde3e1bb6dd1efe71da45083bb6bfaff (patch) | |
tree | 31333a0db9e99023efbae1372a126afe58029d39 /arch/arm | |
parent | 302474793ce3b3d8083bf299aef02eeab4724a23 (diff) | |
download | barebox-5f5484c7fde3e1bb6dd1efe71da45083bb6bfaff.tar.gz barebox-5f5484c7fde3e1bb6dd1efe71da45083bb6bfaff.tar.xz |
ARM: imx: build imx6.o as ARMv7
Otherwise the WFI instruction might not be available in a multi-image build.
Fixes: 1e9458720a23 (ARM: i.MX: provide handler for power off over standby)
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-imx/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index fc5305f051..8ec846ccef 100644 --- a/arch/arm/mach-imx/Makefile +++ b/arch/arm/mach-imx/Makefile @@ -12,6 +12,7 @@ pbl-$(CONFIG_ARCH_IMX51) += imx51.o imx5.o obj-$(CONFIG_ARCH_IMX53) += imx53.o imx5.o esdctl-v4.o pbl-$(CONFIG_ARCH_IMX53) += imx53.o imx5.o esdctl-v4.o obj-$(CONFIG_ARCH_IMX6) += imx6.o usb-imx6.o +CFLAGS_imx6.o := -march=armv7-a lwl-$(CONFIG_ARCH_IMX6) += imx6-mmdc.o obj-$(CONFIG_ARCH_IMX7) += imx7.o obj-$(CONFIG_ARCH_IMX_XLOAD) += xload.o |