summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2015-08-26 11:36:23 +0000
committerandrew <andrew@FreeBSD.org>2015-08-26 11:36:23 +0000
commitad641a4bbd28b2e277b57dee8463f7831415c966 (patch)
tree31d48a5389c64929039caf9aaeb85e1bc8a1c5b4 /sys/conf
parent2642e0210146d8c08822ad425c735a57bc9af2c9 (diff)
downloadFreeBSD-src-ad641a4bbd28b2e277b57dee8463f7831415c966.zip
FreeBSD-src-ad641a4bbd28b2e277b57dee8463f7831415c966.tar.gz
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
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 72db562..eba4b66 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 4965940..30d7b8a 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
OpenPOWER on IntegriCloud