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