git: 602d3601863d - main - arm64: start defining a std.apple configuration
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Sep 2023 05:57:17 UTC
The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=602d3601863de3a4234ac24d3ebb5d85fe380664 commit 602d3601863de3a4234ac24d3ebb5d85fe380664 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2023-09-08 05:53:51 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2023-09-08 05:53:51 +0000 arm64: start defining a std.apple configuration The M1 uses FDT, and has bge to start with. Add a SOC_* option for the first SoC we'll be supporting. IOMMU is added commented out because it does have it, but IOMMU is not well-tested on aarch64. An initial version of the DART driver will be upstreamed that just puts the DARTs that support bypass mode into bypass mode -- we'll be missing some functionality, but we at least still end up with some USB ports. Reviewed by: karels, manu Input from: jrtc27 (IOMMU) Differential Revision: https://reviews.freebsd.org/D39823 --- sys/arm64/conf/GENERIC | 1 + sys/arm64/conf/std.apple | 10 ++++++++++ sys/conf/options.arm64 | 1 + 3 files changed, 12 insertions(+) diff --git a/sys/arm64/conf/GENERIC b/sys/arm64/conf/GENERIC index 2267429f16d0..51d830c5e5d6 100644 --- a/sys/arm64/conf/GENERIC +++ b/sys/arm64/conf/GENERIC @@ -28,6 +28,7 @@ include "std.al" include "std.allwinner" include "std.altera" include "std.amd" +include "std.apple" include "std.arm" include "std.azure" include "std.broadcom" diff --git a/sys/arm64/conf/std.apple b/sys/arm64/conf/std.apple new file mode 100644 index 000000000000..9eb6f279fccc --- /dev/null +++ b/sys/arm64/conf/std.apple @@ -0,0 +1,10 @@ +# +# Apple SoC support +# + +options SOC_APPLE_T8103 + +#options IOMMU +options FDT + +device bge diff --git a/sys/conf/options.arm64 b/sys/conf/options.arm64 index c53723ae2d19..ab4b01b2e38a 100644 --- a/sys/conf/options.arm64 +++ b/sys/conf/options.arm64 @@ -23,6 +23,7 @@ EFIRT opt_efirt.h SOC_ALLWINNER_A64 opt_soc.h SOC_ALLWINNER_H5 opt_soc.h SOC_ALLWINNER_H6 opt_soc.h +SOC_APPLE_T8103 opt_soc.h SOC_BRCM_BCM2837 opt_soc.h SOC_BRCM_BCM2838 opt_soc.h SOC_BRCM_NS2 opt_soc.h