1 # SPDX-License-Identifier: GPL-2.0+ 2 # 3 # Copyright (C) 2010 Albert ARIBAUD <albert.u.boot (at] aribaud.net> 4 # 5 # Based on original Kirkwood support which is 6 # (C) Copyright 2009 7 # Marvell Semiconductor <www.marvell.com> 8 # Written-by: Prafulla Wadaskar <prafulla (at] marvell.com> 9 10 obj-y = cpu.o 11 obj-y += dram.o 12 obj-y += timer.o 13 14 ifndef CONFIG_SKIP_LOWLEVEL_INIT 15 obj-y += lowlevel_init.o 16 endif 17 18 # some files can only build in ARM or THUMB2, not THUMB1 19 20 ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD 21 ifndef CONFIG_HAS_THUMB2 22 23 CFLAGS_cpu.o := -marm 24 25 endif 26 endif 27