From 51154edc5675a2b7e026256e33ee3af71968bb3a Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Fri, 16 Aug 2019 21:11:43 +0000 Subject: [PATCH] arm64: Add EspressoBin DTB to the build This will compile the espressobin dts to a dtb file and this will be install in /boot/dtb/marvell/ during installkernel. MFC after: 1 week --- sys/arm64/conf/GENERIC | 2 +- sys/modules/dtb/mv/Makefile | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/sys/arm64/conf/GENERIC b/sys/arm64/conf/GENERIC index 57a2313b898c..784880f7a280 100644 --- a/sys/arm64/conf/GENERIC +++ b/sys/arm64/conf/GENERIC @@ -326,4 +326,4 @@ options FDT device acpi # DTBs -makeoptions MODULES_EXTRA="dtb/allwinner dtb/rockchip dtb/rpi" +makeoptions MODULES_EXTRA="dtb/allwinner dtb/mv dtb/rockchip dtb/rpi" diff --git a/sys/modules/dtb/mv/Makefile b/sys/modules/dtb/mv/Makefile index 8086f3397ade..ece70675f829 100644 --- a/sys/modules/dtb/mv/Makefile +++ b/sys/modules/dtb/mv/Makefile @@ -1,7 +1,13 @@ # $FreeBSD$ # All the dts files for Marvell systems we support. + +.if ${MACHINE_ARCH} == "armv7" DTS= \ armada-388-clearfog.dts \ armada-388-gp.dts +.elif ${MACHINE_ARCH} == "aarch64" +DTS= \ + marvell/armada-3720-espressobin.dts +.endif .include