mirror of
https://github.com/smaeul/u-boot.git
synced 2025-09-12 04:56:02 +01:00
Same change as was done for mvebu in commit 5bb2c550b11e ("arm: mvebu: Move internal registers in arch_very_early_init() function") but for kirkwood. Signed-off-by: Pali Rohár <pali@kernel.org> Tested-by: Tony Dinh <mibodhi@gmail.com> Reviewed-by: Stefan Roese <sr@denx.de>
17 lines
416 B
Makefile
17 lines
416 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# (C) Copyright 2009
|
|
# Marvell Semiconductor <www.marvell.com>
|
|
# Written-by: Prafulla Wadaskar <prafulla@marvell.com>
|
|
|
|
obj-y = cpu.o
|
|
obj-y += cache.o
|
|
obj-y += lowlevel.o
|
|
obj-y += mpp.o
|
|
|
|
# cpu.o and cache.o contain CP15 instructions which cannot be run in
|
|
# Thumb state, so build them for ARM state even with CONFIG_SYS_THUMB_BUILD
|
|
|
|
CFLAGS_cpu.o := -marm
|
|
CFLAGS_cache.o := -marm
|