Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Albert Aribaud | ac2ba9e | 2010-06-17 19:36:07 +0530 | [diff] [blame] | 2 | # |
Albert ARIBAUD | 340983d | 2011-04-22 19:41:02 +0200 | [diff] [blame] | 3 | # Copyright (C) 2010 Albert ARIBAUD <albert.u.boot@aribaud.net> |
Albert Aribaud | ac2ba9e | 2010-06-17 19:36:07 +0530 | [diff] [blame] | 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@marvell.com> |
Albert Aribaud | ac2ba9e | 2010-06-17 19:36:07 +0530 | [diff] [blame] | 9 | |
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 10 | obj-y = cpu.o |
| 11 | obj-y += dram.o |
| 12 | obj-y += timer.o |
Albert Aribaud | ac2ba9e | 2010-06-17 19:36:07 +0530 | [diff] [blame] | 13 | |
Tom Rini | e1e8544 | 2021-08-27 21:18:30 -0400 | [diff] [blame] | 14 | ifndef CONFIG_$(SPL_)SKIP_LOWLEVEL_INIT |
Masahiro Yamada | 65aac04 | 2013-10-17 17:34:49 +0900 | [diff] [blame] | 15 | obj-y += lowlevel_init.o |
Albert Aribaud | ac2ba9e | 2010-06-17 19:36:07 +0530 | [diff] [blame] | 16 | endif |
Albert ARIBAUD | a382322 | 2015-10-23 18:06:40 +0200 | [diff] [blame] | 17 | |
| 18 | # some files can only build in ARM or THUMB2, not THUMB1 |
| 19 | |
Tom Rini | 1c640a6 | 2017-03-18 09:01:44 -0400 | [diff] [blame] | 20 | ifdef CONFIG_$(SPL_)SYS_THUMB_BUILD |
Albert ARIBAUD | a382322 | 2015-10-23 18:06:40 +0200 | [diff] [blame] | 21 | ifndef CONFIG_HAS_THUMB2 |
| 22 | |
| 23 | CFLAGS_cpu.o := -marm |
| 24 | |
| 25 | endif |
| 26 | endif |