1# 2# Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net> 3# 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# 9# SPDX-License-Identifier: GPL-2.0+ 10# 11 12obj-y = cpu.o 13obj-y += dram.o 14obj-y += timer.o 15 16ifndef CONFIG_SKIP_LOWLEVEL_INIT 17obj-y += lowlevel_init.o 18endif 19 20# some files can only build in ARM or THUMB2, not THUMB1 21 22ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD 23ifndef CONFIG_HAS_THUMB2 24 25CFLAGS_cpu.o := -marm 26 27endif 28endif 29