aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2015-08-26 11:36:23 +0000
committerAndrew Turner <andrew@FreeBSD.org>2015-08-26 11:36:23 +0000
commit75e0dfe336e70f272db2eaa6a2a2a8ac8d43198c (patch)
tree31d48a5389c64929039caf9aaeb85e1bc8a1c5b4 /sys/conf
parent4f768055bd7e7bbfbe1fac95c75e39eee65de18c (diff)
downloadsrc-75e0dfe336e70f272db2eaa6a2a2a8ac8d43198c.tar.gz
src-75e0dfe336e70f272db2eaa6a2a2a8ac8d43198c.zip
Add an option to select which SoCs we are building for. It is intended to
be used with any SoC specific drivers, for example a ThunderX nic driver would use something like the following in files.arm64: arm64/cavium/thunder_nic.c optional soc_cavm_thunderx thndr_nic Reviewed by: imp Sponsored by: ABT Systems Ltd Differential Revision: https://reviews.freebsd.org/D3479
Notes
Notes: svn path=/head/; revision=287162
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files.arm646
-rw-r--r--sys/conf/options.arm643
2 files changed, 6 insertions, 3 deletions
diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64
index 72db5623e21c..eba4b669a5bd 100644
--- a/sys/conf/files.arm64
+++ b/sys/conf/files.arm64
@@ -50,9 +50,9 @@ arm64/arm64/uma_machdep.c standard
arm64/arm64/unwind.c optional ddb | kdtrace_hooks | stack
arm64/arm64/vfp.c standard
arm64/arm64/vm_machdep.c standard
-arm64/cavium/thunder_pcie.c optional thunder_pci fdt
-arm64/cavium/thunder_pcie_pem.c optional thunder_pci
-arm64/cavium/thunder_pcie_common.c optional thunder_pci
+arm64/cavium/thunder_pcie.c optional soc_cavm_thunderx pci fdt
+arm64/cavium/thunder_pcie_pem.c optional soc_cavm_thunderx pci
+arm64/cavium/thunder_pcie_common.c optional soc_cavm_thunderx pci
crypto/blowfish/bf_enc.c optional crypto | ipsec
crypto/des/des_enc.c optional crypto | ipsec | netsmb
dev/acpica/acpi_if.m optional acpi
diff --git a/sys/conf/options.arm64 b/sys/conf/options.arm64
index 4965940d222d..30d7b8ab8f58 100644
--- a/sys/conf/options.arm64
+++ b/sys/conf/options.arm64
@@ -5,3 +5,6 @@ SOCDEV_PA opt_global.h
SOCDEV_VA opt_global.h
THUNDERX_PASS_1_1_ERRATA opt_global.h
VFP opt_global.h
+
+# SoC Support
+SOC_CAVM_THUNDERX opt_soc.h