blob: 33dcad40f26d4fb21e81742493950cbb2e084853 [file] [log] [blame]
Albert Aribaud0c61e6f2010-06-17 19:36:07 +05301#
Albert ARIBAUD57b4bce2011-04-22 19:41:02 +02002# Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net>
Albert Aribaud0c61e6f2010-06-17 19:36:07 +05303#
4# Based on original Kirkwood support which is
5# (C) Copyright 2009
6# Marvell Semiconductor <www.marvell.com>
7# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
8#
Wolfgang Denk1a459662013-07-08 09:37:19 +02009# SPDX-License-Identifier: GPL-2.0+
Albert Aribaud0c61e6f2010-06-17 19:36:07 +053010#
11
Masahiro Yamadad8769c62013-10-17 17:34:49 +090012obj-y = cpu.o
13obj-y += dram.o
14obj-y += timer.o
Albert Aribaud0c61e6f2010-06-17 19:36:07 +053015
16ifndef CONFIG_SKIP_LOWLEVEL_INIT
Masahiro Yamadad8769c62013-10-17 17:34:49 +090017obj-y += lowlevel_init.o
Albert Aribaud0c61e6f2010-06-17 19:36:07 +053018endif
Albert ARIBAUD62e92072015-10-23 18:06:40 +020019
20# some files can only build in ARM or THUMB2, not THUMB1
21
22ifdef CONFIG_SYS_THUMB_BUILD
23ifndef CONFIG_HAS_THUMB2
24
25CFLAGS_cpu.o := -marm
26
27endif
28endif