svn commit: r351144 - in head/sys: arm64/conf modules/dtb/mv

Emmanuel Vadot manu at FreeBSD.org
Fri Aug 16 21:11:44 UTC 2019


Author: manu
Date: Fri Aug 16 21:11:43 2019
New Revision: 351144
URL: https://svnweb.freebsd.org/changeset/base/351144

Log:
  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

Modified:
  head/sys/arm64/conf/GENERIC
  head/sys/modules/dtb/mv/Makefile

Modified: head/sys/arm64/conf/GENERIC
==============================================================================
--- head/sys/arm64/conf/GENERIC	Fri Aug 16 21:03:55 2019	(r351143)
+++ head/sys/arm64/conf/GENERIC	Fri Aug 16 21:11:43 2019	(r351144)
@@ -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"

Modified: head/sys/modules/dtb/mv/Makefile
==============================================================================
--- head/sys/modules/dtb/mv/Makefile	Fri Aug 16 21:03:55 2019	(r351143)
+++ head/sys/modules/dtb/mv/Makefile	Fri Aug 16 21:11:43 2019	(r351144)
@@ -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 <bsd.dtb.mk>


More information about the svn-src-head mailing list