freebsd-dev/sys/arm/mv/std-pj4b.mv
Marcin Wojtas ccc1e6eb49 Use PLATFORM for initializing Marvell ArmadaXP and Armada38X
Spliting armv5 and armv7 machdep is necessary for adding Armada38X and
ArmadaXP to GENERIC config.
PLATFORM framework checks SOC type in FDT and will select proper
initialization function implementation during runtime.
Pointers to SoC specific implementation are stored in array of
platform_method_t and provided to framework by FDT_PLATFORM_DEF macro.
PLATFORM framework supports also reset function. To simplify implementation
cpu_reset is moved from mv_common to armv5 and armv7 machdep.

Armada38X and ArmadaXP share now common list of files, so resolve all
dependencies as well.

Submitted by: Rafal Kozik <rk@semihalf.com>
	      Marcin Wojtas <mw@semihalf.com>
Reviewed by: mw
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D14744
2018-04-04 08:40:49 +00:00

13 lines
442 B
Plaintext

# $FreeBSD$
files "../mv/files.arm7"
cpu CPU_MV_PJ4B
machine arm armv7
makeoptions CONF_CFLAGS="-march=armv7a"
# This was originally defined as "(KERNBASE-(1024*1024*1024))" but that
# (in opt_global.h) clashed with the value emitted by genassym which
# reduces the original macro text to its numeric value. The only way
# to avoid that is to define it here as the numeric value genassym emits.
options VM_MAXUSER_ADDRESS="0x80000000"