52e9cf497d
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
13 lines
442 B
Plaintext
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"
|