2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2008-12-14 08:47:13 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2003
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
|
2013-10-17 08:34:48 +00:00
|
|
|
extra-y := start.o
|
2008-12-14 08:47:13 +00:00
|
|
|
|
2016-04-09 11:53:48 +00:00
|
|
|
obj-y += cache_v7.o cache_v7_asm.o
|
2008-12-14 08:47:13 +00:00
|
|
|
|
2015-03-09 22:11:59 +00:00
|
|
|
obj-y += cpu.o cp15.o
|
2013-10-17 08:34:48 +00:00
|
|
|
obj-y += syslib.o
|
2008-12-14 08:47:13 +00:00
|
|
|
|
2018-04-26 12:51:30 +00:00
|
|
|
obj-$(CONFIG_SYS_ARM_MPU) += mpu_v7r.o
|
|
|
|
|
2018-04-03 19:59:33 +00:00
|
|
|
ifneq ($(CONFIG_SPL_BUILD),y)
|
|
|
|
obj-$(CONFIG_EFI_LOADER) += sctlr.o
|
2019-01-08 17:13:06 +00:00
|
|
|
obj-$(CONFIG_ARMV7_NONSEC) += exception_level.o
|
2018-04-03 19:59:33 +00:00
|
|
|
endif
|
|
|
|
|
2021-08-28 01:18:30 +00:00
|
|
|
ifneq ($(CONFIG_$(SPL_)SKIP_LOWLEVEL_INIT),y)
|
2013-10-17 08:34:48 +00:00
|
|
|
obj-y += lowlevel_init.o
|
2012-08-09 00:03:10 +00:00
|
|
|
endif
|
|
|
|
|
2017-04-14 02:10:23 +00:00
|
|
|
obj-$(CONFIG_ARM_SMCCC) += smccc-call.o
|
2016-06-21 12:30:09 +00:00
|
|
|
obj-$(CONFIG_ARMV7_NONSEC) += nonsec_virt.o virt-v7.o virt-dt.o
|
2016-07-05 13:45:07 +00:00
|
|
|
obj-$(CONFIG_ARMV7_PSCI) += psci.o psci-common.o
|
2014-07-12 13:24:04 +00:00
|
|
|
|
2014-08-11 20:58:22 +00:00
|
|
|
obj-$(CONFIG_IPROC) += iproc-common/
|
2014-02-11 19:06:33 +00:00
|
|
|
obj-$(CONFIG_KONA) += kona-common/
|
2014-04-04 17:16:49 +00:00
|
|
|
obj-$(CONFIG_SYS_ARCH_TIMER) += arch_timer.o
|
2013-10-17 11:38:56 +00:00
|
|
|
|
|
|
|
ifneq (,$(filter s5pc1xx exynos,$(SOC)))
|
|
|
|
obj-y += s5p-common/
|
|
|
|
endif
|
2014-11-13 03:28:40 +00:00
|
|
|
|
2016-06-02 22:10:56 +00:00
|
|
|
obj-$(if $(filter bcm235xx,$(SOC)),y) += bcm235xx/
|
2014-11-13 03:28:42 +00:00
|
|
|
obj-$(if $(filter bcm281xx,$(SOC)),y) += bcm281xx/
|
|
|
|
obj-$(if $(filter bcmcygnus,$(SOC)),y) += bcmcygnus/
|
|
|
|
obj-$(if $(filter bcmnsp,$(SOC)),y) += bcmnsp/
|
|
|
|
obj-$(if $(filter ls102xa,$(SOC)),y) += ls102xa/
|
|
|
|
obj-$(CONFIG_RMOBILE) += rmobile/
|
2014-11-18 18:42:22 +00:00
|
|
|
obj-$(if $(filter stv0991,$(SOC)),y) += stv0991/
|
2014-11-13 03:28:42 +00:00
|
|
|
obj-$(CONFIG_ARCH_SUNXI) += sunxi/
|
|
|
|
obj-$(CONFIG_VF610) += vf610/
|
arm: add support for SoC s5p4418 (cpu) / nanopi2 board
Changes in relation to FriendlyARM's U-Boot nanopi2-v2016.01:
- SPL not supported yet --> no spl-dir in arch/arm/cpu/armv7/s5p4418/.
Appropriate line in Makefile removed.
- cpu.c: '#include <cpu_func.h>' added.
- arch/arm/cpu/armv7/s5p4418/u-boot.lds removed, is not required
anylonger.
- "obj-$(CONFIG_ARCH_NEXELL) += s5p-common/" added to
arch/arm/cpu/armv7/Makefile since s5p-common/pwm.c is used instead
of drivers/pwm/pwm-nexell.c.
- s5p4418.dtsi: '#include "../../../include/generated/autoconf.h"'
removed, is not necessary, error at out-of-tree building.
'#ifdef CONFIG_CPU_NXP4330'-blocks (2x) removed. Some minor changes
regarding mmc. 'u-boot,dm-pre-reloc' added to dp0 because of added
DM_VIDEO support.
- board/s5p4418/ renamed to board/friendlyarm/
- All s5p4418-boards except nanopi2 removed because there is no
possibility to test the other boards.
- Kconfig: Changes to have a structure like mach-bcm283x (RaspberryPi),
e.g. "config ..." entries moved from/to other Kconfig.
- "CONFIG_" removed from several s5p4418/nanopi2 specific defines
because the appropriate values do not need to be configurable.
- nanopi2/board.c: All getenv(), getenv_ulong(), setenv() and saveenv()
renamed to env_get(), env_get_ulong(), env_set() and env_save(),
respectively. MACH_TYPE_S5P4418 is not defined anymore, therefore
appropriate code removed (not necessary for DT-kernels).
- nanopi2/onewire.c: All crc8() renamed to crc8_ow() because crc8() is
already defined in lib/crc8.c (with different parameters).
- dts: "nexell,s5pxx18-i2c" used instead of "i2c-gpio", i2c0 and
i2c1 added. gmac-, ehci- and dwc2otg-entries removed because the
appropriate functionality is not supported yet. New mmc-property
"mmcboost" added.
s5p4418-pinctrl.dtsi: gmac-entries removed, mmc- and i2c-entries
added.
- '#ifdef CONFIG...' changed to 'if (IS_ENABLED(CONFIG...))' where
possible (and similar).
Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
2020-07-10 17:07:37 +00:00
|
|
|
obj-$(CONFIG_ARCH_S5P4418) += s5p4418/
|
|
|
|
obj-$(CONFIG_ARCH_NEXELL) += s5p-common/
|