2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2010-06-17 14:06:07 +00:00
|
|
|
#
|
2011-04-22 17:41:02 +00:00
|
|
|
# Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net>
|
2010-06-17 14:06:07 +00:00
|
|
|
#
|
|
|
|
# Based on original Kirkwood support which is
|
|
|
|
# (C) Copyright 2009
|
|
|
|
# Marvell Semiconductor <www.marvell.com>
|
|
|
|
# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
|
|
|
|
|
2013-10-17 08:34:49 +00:00
|
|
|
obj-y = cpu.o
|
|
|
|
obj-y += dram.o
|
|
|
|
obj-y += timer.o
|
2010-06-17 14:06:07 +00:00
|
|
|
|
|
|
|
ifndef CONFIG_SKIP_LOWLEVEL_INIT
|
2013-10-17 08:34:49 +00:00
|
|
|
obj-y += lowlevel_init.o
|
2010-06-17 14:06:07 +00:00
|
|
|
endif
|
2015-10-23 16:06:40 +00:00
|
|
|
|
|
|
|
# some files can only build in ARM or THUMB2, not THUMB1
|
|
|
|
|
2017-03-18 13:01:44 +00:00
|
|
|
ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD
|
2015-10-23 16:06:40 +00:00
|
|
|
ifndef CONFIG_HAS_THUMB2
|
|
|
|
|
|
|
|
CFLAGS_cpu.o := -marm
|
|
|
|
|
|
|
|
endif
|
|
|
|
endif
|