blob: 5abcf70b28537dcf2ad03f08b19bcdbbe573e2ff [file] [log] [blame]
Prafulla Wadaskar4efb77d2009-06-20 11:01:53 +02001#
2# (C) Copyright 2009
3# Marvell Semiconductor <www.marvell.com>
4# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
5#
Wolfgang Denk1a459662013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
Prafulla Wadaskar4efb77d2009-06-20 11:01:53 +02007#
8
Masahiro Yamadad8769c62013-10-17 17:34:49 +09009obj-y = cpu.o
Masahiro Yamadad8769c62013-10-17 17:34:49 +090010obj-y += cache.o
Stefan Roesed80cca22014-10-22 12:13:05 +020011obj-y += mpp.o
Albert ARIBAUDe7de61b2015-10-23 18:06:42 +020012
13# cpu.o and cache.o contain CP15 instructions which cannot be run in
14# Thumb state, so build them for ARM state even with CONFIG_SYS_THUMB_BUILD
15
16CFLAGS_cpu.o := -marm
17CFLAGS_cache.o := -marm