blob: 33dcad40f26d4fb21e81742493950cbb2e084853 [file] [log] [blame]
Albert Aribaudac2ba9e2010-06-17 19:36:07 +05301#
Albert ARIBAUD340983d2011-04-22 19:41:02 +02002# Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net>
Albert Aribaudac2ba9e2010-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 Denkd79de1d2013-07-08 09:37:19 +02009# SPDX-License-Identifier: GPL-2.0+
Albert Aribaudac2ba9e2010-06-17 19:36:07 +053010#
11
Masahiro Yamada65aac042013-10-17 17:34:49 +090012obj-y = cpu.o
13obj-y += dram.o
14obj-y += timer.o
Albert Aribaudac2ba9e2010-06-17 19:36:07 +053015
16ifndef CONFIG_SKIP_LOWLEVEL_INIT
Masahiro Yamada65aac042013-10-17 17:34:49 +090017obj-y += lowlevel_init.o
Albert Aribaudac2ba9e2010-06-17 19:36:07 +053018endif
Albert ARIBAUDa3823222015-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