blob: 3b2eef8d54199b7b225d2527517347ffffc67126 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Prafulla Wadaskar4efb77d2009-06-20 11:01:53 +02002#
3# (C) Copyright 2009
4# Marvell Semiconductor <www.marvell.com>
5# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
Prafulla Wadaskar4efb77d2009-06-20 11:01:53 +02006
Masahiro Yamadad8769c62013-10-17 17:34:49 +09007obj-y = cpu.o
Masahiro Yamadad8769c62013-10-17 17:34:49 +09008obj-y += cache.o
Stefan Roesed80cca22014-10-22 12:13:05 +02009obj-y += mpp.o
Albert ARIBAUDe7de61b2015-10-23 18:06:42 +020010
11# cpu.o and cache.o contain CP15 instructions which cannot be run in
12# Thumb state, so build them for ARM state even with CONFIG_SYS_THUMB_BUILD
13
14CFLAGS_cpu.o := -marm
15CFLAGS_cache.o := -marm