From f9d615746fa6b179c247518d179c47199d4a86d4 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 20 Oct 2022 09:02:28 -0600 Subject: [PATCH] arm: Remove useless armv6/armv7 options Cleanup another remnant of the armv4/armv5 support. Now that we always define armv6 or armv7, these lines can be deleted (execpt hwpmc_armv7.c which now needs just one line). Since we don't do anything different between armv6 and armv7 from a config file selection point of view, delete them from options.arm. We are extremely unlikely to grow anything new here during the remaining lifetime of 32-bit arm in FreeBSD. Sponsored by: Netflix Reviewed by: kevans, andrew Differential Revision: https://reviews.freebsd.org/D37069 --- sys/conf/files.arm | 10 +--------- sys/conf/options.arm | 2 -- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/sys/conf/files.arm b/sys/conf/files.arm index c7e8a52a813d..e31c3b9c8b60 100644 --- a/sys/conf/files.arm +++ b/sys/conf/files.arm @@ -77,7 +77,6 @@ arm/arm/undefined.c standard arm/arm/unwind.c optional ddb | kdtrace_hooks | stack arm/arm/vm_machdep.c standard arm/arm/vfp.c standard -cddl/compat/opensolaris/kern/opensolaris_atomic.c optional !armv7 !armv6 zfs | !armv7 !armv6 dtrace compile-with "${CDDL_C}" cddl/dev/dtrace/arm/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}" cddl/dev/dtrace/arm/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}" cddl/dev/fbt/arm/fbt_isa.c optional dtrace_fbt | dtraceall compile-with "${FBT_C}" @@ -89,8 +88,7 @@ dev/fb/fb.c optional sc dev/fdt/fdt_arm_platform.c optional platform fdt dev/hdmi/hdmi_if.m optional hdmi dev/hwpmc/hwpmc_arm.c optional hwpmc -dev/hwpmc/hwpmc_armv7.c optional hwpmc armv6 -dev/hwpmc/hwpmc_armv7.c optional hwpmc armv7 +dev/hwpmc/hwpmc_armv7.c optional hwpmc dev/iicbus/twsi/twsi.c optional twsi dev/ofw/ofw_pcib.c optional fdt pci dev/pci/pci_host_generic.c optional pci_host_generic pci @@ -112,7 +110,6 @@ kern/subr_physmem.c standard kern/subr_sfbuf.c standard libkern/arm/aeabi_unwind.c standard libkern/arm/divsi3.S standard -libkern/arm/ffs.S optional !armv7 !armv6 libkern/arm/ldivmod.S standard libkern/arm/ldivmod_helper.c standard libkern/arm/memclr.S standard @@ -122,11 +119,6 @@ libkern/arm/muldi3.c standard libkern/ashldi3.c standard libkern/ashrdi3.c standard libkern/divdi3.c standard -libkern/ffsl.c optional !armv7 !armv6 -libkern/ffsll.c optional !armv7 !armv6 -libkern/fls.c optional !armv7 !armv6 -libkern/flsl.c optional !armv7 !armv6 -libkern/flsll.c optional !armv7 !armv6 libkern/lshrdi3.c standard libkern/moddi3.c standard libkern/qdivrem.c standard diff --git a/sys/conf/options.arm b/sys/conf/options.arm index 0e5726e9713e..cdf98a35fcb4 100644 --- a/sys/conf/options.arm +++ b/sys/conf/options.arm @@ -1,6 +1,4 @@ #$FreeBSD$ -ARMV6 opt_global.h -ARMV7 opt_global.h ARM_FORCE_DBG_MONITOR_DISABLE opt_ddb.h CPSW_ETHERSWITCH opt_cpsw.h CPU_ARM1176 opt_global.h